summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-08-23 10:01:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:16:35 -0500
commitd68a16988665edc299f385783b84fd166268a956 (patch)
tree5edc8ae14031dfa0bd85aafb30350cebb7379782
parent0749ab04002f2288cddd994b830163c107230f31 (diff)
downloadsamba-d68a16988665edc299f385783b84fd166268a956.tar.gz
samba-d68a16988665edc299f385783b84fd166268a956.tar.bz2
samba-d68a16988665edc299f385783b84fd166268a956.zip
r17744: we explicit want to get warnings about declarations after statements:-)
metze (This used to be commit c3be1e18bcc050fe96be3f35e10ca643673749ca)
-rw-r--r--source4/build/m4/check_cc.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4
index d565bcf278..efb9568729 100644
--- a/source4/build/m4/check_cc.m4
+++ b/source4/build/m4/check_cc.m4
@@ -175,7 +175,7 @@ if test x$developer = xyes; then
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(-Wno-declaration-after-statement, DEVELOPER_CFLAGS)
+ AX_CFLAGS_GCC_OPTION(-Wdeclaration-after-statement, DEVELOPER_CFLAGS)
else
AX_CFLAGS_IRIX_OPTION(-fullwarn, DEVELOPER_CFLAGS)
fi