From: Christophe CURIS <[email protected]>
---
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index 77d16db..48c2637 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,6 +102,11 @@ AS_IF([test "x$debug" = "xyes"],
dnl Try to report misuses of '&' versus '&&' and similar
AX_CFLAGS_GCC_OPTION([-Wlogical-op])
dnl
+ dnl Reports declaration of global things that are done inside
+ dnl a local environment, instead of using the appropriate
+ dnl header
+ AX_CFLAGS_GCC_OPTION([-Wnested-externs])
+ dnl
dnl Use of 'sizeof()' on inappropriate pointer types
AX_CFLAGS_GCC_OPTION([-Wpointer-arith])
], [dnl
--
1.8.4.rc3
--
To unsubscribe, send mail to [email protected].