-W[no-]error=X: gcc compat: when disabling X again, do not unset the warning

This commit is contained in:
Steffen Nurpmeso
2021-07-27 19:48:29 +02:00
parent b1d9de6794
commit 0c16762418
6 changed files with 74 additions and 51 deletions

View File

@@ -270,7 +270,8 @@ Make string constants be of type @code{const char *} instead of @code{char
Abort compilation if a warning is issued.
Can be given an option to enable the specified warning
and turn it into an error, for example @option{-Werror=unsupported}.
(Enabling general abortion and disabling specifics is not supported.)
Enabling general abortion and disabling specifics is not supported.
Disabling specific abortions again does not disable the according warning.
@item -Wall
Activate all warnings, except @option{-Werror}, @option{-Wunsupported} and