diff options
| author | Dan Williams <dcbw@redhat.com> | 2012-07-30 10:58:15 -0500 |
|---|---|---|
| committer | Dan Williams <dcbw@redhat.com> | 2012-07-30 10:58:47 -0500 |
| commit | bb363997edf92413d6647c9cc48e850308301e13 (patch) | |
| tree | 1d6e8b7ec710764c8b970259fecb9ac2e1d1007e /m4 | |
| parent | edb85e972051aff3cfcd5990ea1bd8a28dddc9d9 (diff) | |
| download | NetworkManager-bb363997edf92413d6647c9cc48e850308301e13.tar.gz | |
build: add some more build-time warnings
Diffstat (limited to 'm4')
| -rw-r--r-- | m4/compiler_warnings.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/compiler_warnings.m4 b/m4/compiler_warnings.m4 index eeacfae851..3037c584f9 100644 --- a/m4/compiler_warnings.m4 +++ b/m4/compiler_warnings.m4 @@ -11,7 +11,9 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then -Wdeclaration-after-statement \ -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \ -fno-strict-aliasing -Wno-unused-but-set-variable \ - -Wundef; do + -Wundef -Wimplicit-function-declaration \ + -Wpointer-arith -Winit-self \ + -Wmissing-include-dirs -Waggregate-return; do SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $option" AC_MSG_CHECKING([whether gcc understands $option]) |
