From fef30c770a7d90d0dc7c3da5b262f909f9f6d11e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 24 Aug 2006 11:33:00 +0000 Subject: 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) --- source4/build/m4/check_cc.m4 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/build') 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 -- cgit