diff options
-rw-r--r-- | config/gnu-warnings/error-5 | 1 | ||||
-rw-r--r-- | config/gnu-warnings/error-general | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/config/gnu-warnings/error-5 b/config/gnu-warnings/error-5 index f7e1138..000f218 100644 --- a/config/gnu-warnings/error-5 +++ b/config/gnu-warnings/error-5 @@ -10,3 +10,4 @@ # warnings to errors only for GCC 5 and later. # -Werror=shadow +-Werror=int-conversion diff --git a/config/gnu-warnings/error-general b/config/gnu-warnings/error-general index f0e61f8..28e8ae9 100644 --- a/config/gnu-warnings/error-general +++ b/config/gnu-warnings/error-general @@ -5,7 +5,9 @@ -Werror=bad-function-cast -Werror=declaration-after-statement -Werror=implicit-function-declaration +-Werror=int-to-pointer-cast -Werror=missing-declarations +-Werror=missing-field-initializers -Werror=missing-prototypes -Werror=nested-externs -Werror=old-style-definition |