Skip to content

Be careful when activating warnings.

ID0000310: This issue was created automatically from Mantis Issue 310. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0000310 Frama-C Kernel public 2009-11-02 2014-02-12
Reporter doligez Assigned To signoles Resolution fixed
Priority normal Severity minor Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Beryllium-20090902 Target Version - Fixed in Version Frama-C Boron-20100401

Description :

shared/Makefile.common contains the following line:

FLAGS = -w Ael -warn-error A $(OCAML_ANNOT_OPTION) $(OPTIM)

Don't do that, it breaks your build every time a new warning is added to OCaml, even if that warning is inactive by default. What you should do instead:

FLAGS = -w Z -warn-error A $(OCAML_ANNOT_OPTION) $(OPTIM)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information