From 550495b6f9af22c47b7fd336e08f1a8eac4534ec Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 19 Sep 2006 03:48:31 +0000 Subject: r18674: merge from samba3, PRINTF_ATTRIBUTE seems to not work with gcc 3.0 metze (This used to be commit dfb9bfba943bb4954101e7e02fa5a68046817162) --- source4/lib/replace/replace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/replace') diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h index 7cdaaae689..688f08a51d 100644 --- a/source4/lib/replace/replace.h +++ b/source4/lib/replace/replace.h @@ -207,7 +207,7 @@ int rep_dlclose(void *handle); #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 -- cgit