aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)]