svn commit: samba r17772 - in branches/SAMBA_4_0/source/build/m4: .

metze at samba.org metze at samba.org
Thu Aug 24 07:58:23 GMT 2006


Author: metze
Date: 2006-08-24 07:58:22 +0000 (Thu, 24 Aug 2006)
New Revision: 17772

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17772

Log:
warn about unused macros
(only when defined in the .c file not in headers)

metze
Modified:
   branches/SAMBA_4_0/source/build/m4/check_cc.m4


Changeset:
Modified: branches/SAMBA_4_0/source/build/m4/check_cc.m4
===================================================================
--- branches/SAMBA_4_0/source/build/m4/check_cc.m4	2006-08-24 07:20:32 UTC (rev 17771)
+++ branches/SAMBA_4_0/source/build/m4/check_cc.m4	2006-08-24 07:58:22 UTC (rev 17772)
@@ -176,6 +176,7 @@
 	    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



More information about the samba-cvs mailing list