diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-08-24 11:33:00 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:16:43 -0500 |
commit | fef30c770a7d90d0dc7c3da5b262f909f9f6d11e (patch) | |
tree | ea2e4149d71ee17e69ecfc227b05077699150028 /source4/build/m4 | |
parent | 1713b43c1a28aadfecf641dfdd6e070ef3dfba1b (diff) | |
download | samba-fef30c770a7d90d0dc7c3da5b262f909f9f6d11e.tar.gz samba-fef30c770a7d90d0dc7c3da5b262f909f9f6d11e.tar.bz2 samba-fef30c770a7d90d0dc7c3da5b262f909f9f6d11e.zip |
r17793: add -Wmissing-prototypes, -Wmissing-declarations, -Wmissing-field-initializers
gcc options, but don't enable them yet.
we should step by step try to enable them, after removing the flood of warnings
they would generate.
metze
(This used to be commit 40fb476a9cc53c757dcf07e879107c4572b8a1ee)
Diffstat (limited to 'source4/build/m4')
-rw-r--r-- | source4/build/m4/check_cc.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4 index 17384efd0e..2976ff3778 100644 --- a/source4/build/m4/check_cc.m4 +++ b/source4/build/m4/check_cc.m4 @@ -177,6 +177,9 @@ if test x$developer = xyes; then 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(-Wmissing-prototypes, DEVELOPER_CFLAGS) +# AX_CFLAGS_GCC_OPTION(-Wmissing-declarations, DEVELOPER_CFLAGS) +# AX_CFLAGS_GCC_OPTION(-Wmissing-field-initializers, DEVELOPER_CFLAGS) else AX_CFLAGS_IRIX_OPTION(-fullwarn, DEVELOPER_CFLAGS) fi |