Commit 3e441d0e authored by MARCHE Claude's avatar MARCHE Claude Committed by Andrei Paskevich
Browse files

compilation warning settings explicited

parent ea3387ff
......@@ -71,7 +71,23 @@ EMACS = @EMACS@
WARNINGS = Aer-41-44-45@5
# 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)
Supports Markdown
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