svn commit: samba r18674 - in
branches/SAMBA_4_0/source/lib/replace: .
metze at samba.org
metze at samba.org
Tue Sep 19 03:48:31 GMT 2006
Author: metze
Date: 2006-09-19 03:48:31 +0000 (Tue, 19 Sep 2006)
New Revision: 18674
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18674
Log:
merge from samba3,
PRINTF_ATTRIBUTE seems to not work with gcc 3.0
metze
Modified:
branches/SAMBA_4_0/source/lib/replace/replace.h
Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/replace.h
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/replace.h 2006-09-19 03:38:35 UTC (rev 18673)
+++ branches/SAMBA_4_0/source/lib/replace/replace.h 2006-09-19 03:48:31 UTC (rev 18674)
@@ -207,7 +207,7 @@
#ifndef PRINTF_ATTRIBUTE
-#if __GNUC__ >= 3
+#if (__GNUC__ >= 3) && (__GNUC_MINOR__ >= 1 )
/** 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