Commit 646222d4 authored by MARCHE Claude's avatar MARCHE Claude

compilation warning settings explicited

parent d00ac3d2
......@@ -71,7 +71,23 @@ EMACS = @EMACS@
#PDFVIEWER = @PDFVIEWER@
INCLUDES = @ZIPINCLUDE@ @MENHIRINCLUDE@
WARNINGS = Aer-41-44-45@5@48
# warnings are enabled and non fatal by default, except:
# - disabled:
# 4 Fragile pattern matching: matching that will remain complete even
# if additional constructors are added to one of the variant types
# matched.
# 9 Missing fields in a record pattern.
# 41 Ambiguous constructor or label name.
# 44 Open statement shadows an already defined identifier.
# 45 Open statement shadows an already defined label or constructor.
# - fatal:
# 5 Partially applied function: expression whose result has function
# type and is ignored.
# 48 Implicit elimination of optional arguments.
WARNINGS = A-4-9-41-44-45@5@48
OFLAGS = -w $(WARNINGS) -dtypes -g -I lib/why3 $(INCLUDES)
BFLAGS = -w $(WARNINGS) -dtypes -g -I lib/why3 $(INCLUDES)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment