1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-15 05:25:53 +01:00

configure: Added compilation check for dangerous use of 'extern' keyword

This commit is contained in:
Christophe CURIS
2013-10-10 23:55:56 +02:00
committed by Carlos R. Mafra
parent 18059fb1c7
commit 3b85fca43c

View File

@@ -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