From 1ec1c32ea18dab5a4ee48706bf0dce107b24fcd5 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 24 Aug 2006 07:58:22 +0000 Subject: r17772: warn about unused macros (only when defined in the .c file not in headers) metze (This used to be commit a6f22cd924ce040d6b3c31c9c483f1c256015f8d) --- source4/build/m4/check_cc.m4 | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/build/m4') diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4 index efb9568729..17384efd0e 100644 --- a/source4/build/m4/check_cc.m4 +++ b/source4/build/m4/check_cc.m4 @@ -176,6 +176,7 @@ if test x$developer = xyes; then AX_CFLAGS_GCC_OPTION(-Wformat=2, DEVELOPER_CFLAGS) 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) else AX_CFLAGS_IRIX_OPTION(-fullwarn, DEVELOPER_CFLAGS) fi -- cgit