svn commit: samba r8417 - in branches/SAMBA_4_0/source: .
lib/replace
tridge at samba.org
tridge at samba.org
Wed Jul 13 10:22:13 GMT 2005
Author: tridge
Date: 2005-07-13 10:22:13 +0000 (Wed, 13 Jul 2005)
New Revision: 8417
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8417
Log:
fixed handling of PRINTF_ATTRIBUTE for heimdal portion of build
Modified:
branches/SAMBA_4_0/source/extra_cflags.txt
branches/SAMBA_4_0/source/lib/replace/replace.h
Changeset:
Modified: branches/SAMBA_4_0/source/extra_cflags.txt
===================================================================
--- branches/SAMBA_4_0/source/extra_cflags.txt 2005-07-13 09:44:55 UTC (rev 8416)
+++ branches/SAMBA_4_0/source/extra_cflags.txt 2005-07-13 10:22:13 UTC (rev 8417)
@@ -1 +1 @@
-heimdal -Iheimdal_build -Iheimdal/kdc -Iheimdal/lib/des -Iheimdal/lib/roken -Iheimdal/include
+heimdal -Iheimdal_build -Iheimdal/kdc -Iheimdal/lib/des -Iheimdal/lib/roken -Iheimdal/include -DNO_PRINTF_ATTRIBUTE
Modified: branches/SAMBA_4_0/source/lib/replace/replace.h
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/replace.h 2005-07-13 09:44:55 UTC (rev 8416)
+++ branches/SAMBA_4_0/source/lib/replace/replace.h 2005-07-13 10:22:13 UTC (rev 8417)
@@ -112,7 +112,7 @@
#endif
#ifndef PRINTF_ATTRIBUTE
-#if (__GNUC__ >= 3)
+#if !defined(NO_PRINTF_ATTRIBUTE) && (__GNUC__ >= 3)
/** Use gcc attribute to check printf fns. a1 is the 1-based index of
* the parameter containing the format, and a2 the index of the first
* argument. Note that some gcc 2.x versions don't handle this
More information about the samba-cvs
mailing list