aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2016-09-22 13:00:38 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2016-09-22 13:00:38 +0200
commita8f8dea01b69dd7d85b51163dcde11e4ad55df6d (patch)
treea421ac4c34b1c7a5610ccc846652355c42717461
parente237804b607c1d3bc8217d6f14a35c003f6c8fc7 (diff)
downloadcompcert-kvx-a8f8dea01b69dd7d85b51163dcde11e4ad55df6d.tar.gz
compcert-kvx-a8f8dea01b69dd7d85b51163dcde11e4ad55df6d.zip
Added compcert-conformance to wall. Bug 19872
-rw-r--r--cparser/Cerrors.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/cparser/Cerrors.ml b/cparser/Cerrors.ml
index 3263ecea..a757ab04 100644
--- a/cparser/Cerrors.ml
+++ b/cparser/Cerrors.ml
@@ -147,6 +147,7 @@ let wall () =
Return_type;
Literal_range;
Unknown_pragmas;
+ CompCert_conformance;
]
let werror () =
@@ -289,6 +290,7 @@ let warning_options =
error_option Return_type @
error_option Literal_range @
error_option Unknown_pragmas @
+ error_option CompCert_conformance @
[Exact ("-Wfatal-errors"), Set error_fatal;
Exact ("-fdiagnostics-color"), Ignore; (* Either output supports it or no color *)
Exact ("-fno-diagnostics-color"), Unset color_diagnostics;