aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2016-12-06 17:09:05 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2016-12-06 17:09:05 +0100
commit9683212947ec3e4efe431efe589897c34f999d15 (patch)
tree08de58947bbe331cc9645f8f763beb77bb5257cb
parent55ac8abb71d589c303d0c6a35f1d2c3b7a0adcba (diff)
downloadcompcert-kvx-9683212947ec3e4efe431efe589897c34f999d15.tar.gz
compcert-kvx-9683212947ec3e4efe431efe589897c34f999d15.zip
Use -Wno- instead of -Wno to deactivate warnings.
-rw-r--r--cparser/Cerrors.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/Cerrors.ml b/cparser/Cerrors.ml
index 6bbe4b5b..562d8e89 100644
--- a/cparser/Cerrors.ml
+++ b/cparser/Cerrors.ml
@@ -270,7 +270,7 @@ let check_errors () =
let error_option w =
let key = string_of_warning w in
[Exact ("-W"^key), Unit (activate_warning w);
- Exact ("-Wno"^key), Unit (deactivate_warning w);
+ Exact ("-Wno-"^key), Unit (deactivate_warning w);
Exact ("-Werror="^key), Unit ( warning_as_error w);
Exact ("-Wno-error="^key), Unit ( warning_not_as_error w)]