diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2016-12-06 17:09:05 +0100 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2016-12-06 17:09:05 +0100 |
commit | 9683212947ec3e4efe431efe589897c34f999d15 (patch) | |
tree | 08de58947bbe331cc9645f8f763beb77bb5257cb /cparser | |
parent | 55ac8abb71d589c303d0c6a35f1d2c3b7a0adcba (diff) | |
download | compcert-kvx-9683212947ec3e4efe431efe589897c34f999d15.tar.gz compcert-kvx-9683212947ec3e4efe431efe589897c34f999d15.zip |
Use -Wno- instead of -Wno to deactivate warnings.
Diffstat (limited to 'cparser')
-rw-r--r-- | cparser/Cerrors.ml | 2 |
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)] |