mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-21 10:14:41 +00:00
build/autotools: add compiler warnings that we have in meson
Synchronize the compiler warnings for meson and autotools.
This commit is contained in:
parent
f3682588b2
commit
4d2cb2d32b
|
@ -88,6 +88,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
|
|||
|
||||
for option in \
|
||||
$_CFLAGS_MORE_WARNINGS_DISABLE_LTO \
|
||||
-Wall \
|
||||
-Wextra \
|
||||
-Wdeclaration-after-statement \
|
||||
-Wfloat-equal \
|
||||
|
@ -99,15 +100,19 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
|
|||
-Wmissing-declarations \
|
||||
-Wmissing-include-dirs \
|
||||
-Wmissing-prototypes \
|
||||
-Wparentheses-equality \
|
||||
-Wpointer-arith \
|
||||
-Wshadow \
|
||||
-Wshift-negative-value \
|
||||
-Wstrict-prototypes \
|
||||
-Wtypedef-redefinition \
|
||||
-Wundef \
|
||||
-Wunknown-attributes \
|
||||
-Wvla \
|
||||
-Wno-duplicate-decl-specifier \
|
||||
-Wno-format-truncation \
|
||||
-Wno-format-y2k \
|
||||
-Wno-gnu-variable-sized-type-not-at-end \
|
||||
-Wno-missing-field-initializers \
|
||||
-Wno-pragmas \
|
||||
-Wno-sign-compare \
|
||||
|
|
Loading…
Reference in a new issue