diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-08-29 09:29:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:16:53 -0500 |
commit | 2a1ef3c817336f8ed64e0a78773de9e798810393 (patch) | |
tree | 163fa697a25a7058a2e471e8fec4a1c318c34c57 /source4/build/m4 | |
parent | 814582de5a8a8fa63bcff14e5fa4c847e1ab470f (diff) | |
download | samba-2a1ef3c817336f8ed64e0a78773de9e798810393.tar.gz samba-2a1ef3c817336f8ed64e0a78773de9e798810393.tar.bz2 samba-2a1ef3c817336f8ed64e0a78773de9e798810393.zip |
r17904: we don't want warnings about unused parameters
volker that one was for you:-)
metze
(This used to be commit d0aa78177d24877320bac2294328e0083f34e9a5)
Diffstat (limited to 'source4/build/m4')
-rw-r--r-- | source4/build/m4/check_cc.m4 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4 index cae9c38ef2..3999ad349e 100644 --- a/source4/build/m4/check_cc.m4 +++ b/source4/build/m4/check_cc.m4 @@ -164,6 +164,9 @@ if test x$developer = xyes; then CFLAGS="${CFLAGS} -D_SAMBA_DEVELOPER_DONNOT_USE_O2_" DEVELOPER_CFLAGS="-DDEBUG_PASSWORD -DDEVELOPER" if test x"$GCC" = x"yes" ; then + # + # warnings we want... + # AX_CFLAGS_GCC_OPTION(-Wall, DEVELOPER_CFLAGS) AX_CFLAGS_GCC_OPTION(-Wshadow, DEVELOPER_CFLAGS) AX_CFLAGS_GCC_OPTION(-Werror-implicit-function-declaration, DEVELOPER_CFLAGS) @@ -174,13 +177,18 @@ if test x$developer = xyes; then AX_CFLAGS_GCC_OPTION(-Wwrite-strings, DEVELOPER_CFLAGS) AX_CFLAGS_GCC_OPTION(-Wmissing-format-attribute, DEVELOPER_CFLAGS) AX_CFLAGS_GCC_OPTION(-Wformat=2, DEVELOPER_CFLAGS) - AX_CFLAGS_GCC_OPTION(-Wno-format-y2k, DEVELOPER_CFLAGS) AX_CFLAGS_GCC_OPTION(-Wdeclaration-after-statement, DEVELOPER_CFLAGS) AX_CFLAGS_GCC_OPTION(-Wunused-macros, DEVELOPER_CFLAGS) +# AX_CFLAGS_GCC_OPTION(-Wextra, DEVELOPER_CFLAGS) # AX_CFLAGS_GCC_OPTION(-Wc++-compat, DEVELOPER_CFLAGS) # AX_CFLAGS_GCC_OPTION(-Wmissing-prototypes, DEVELOPER_CFLAGS) # AX_CFLAGS_GCC_OPTION(-Wmissing-declarations, DEVELOPER_CFLAGS) # AX_CFLAGS_GCC_OPTION(-Wmissing-field-initializers, DEVELOPER_CFLAGS) + # + # warnings we don't want... + # + AX_CFLAGS_GCC_OPTION(-Wno-format-y2k, DEVELOPER_CFLAGS) + AX_CFLAGS_GCC_OPTION(-Wno-unused-parameter, DEVELOPER_CFLAGS) else AX_CFLAGS_IRIX_OPTION(-fullwarn, DEVELOPER_CFLAGS) fi |