[PATCH:libXmu] Use _X_ATTRIBUTE_PRINTF from Xfuncproto.h in Xmu headers

Alan Coopersmith alan.coopersmith at oracle.com
Wed Jun 9 13:01:38 PDT 2010


Alan Coopersmith wrote:
> -#if defined(__GNUC__) && \
> -    ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ > 4)))
> -__attribute((format(printf,3,4)))

BTW, one thing I've noticed, but will leave fixing up to someone with more gcc
versions around to test with - Xmu was using that for gcc >= 2.4, but for some
reason Xfuncproto.h limits it to gcc >= 4.0.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list