Re: supported gcc versions (was [PATCH:libXmu] Use _X_ATTRIBUTE_PRINTF from Xfuncproto.h in Xmu headers)

2010-06-10 Thread Alan Coopersmith
Jamey Sharp wrote: On Wed, Jun 9, 2010 at 1:01 PM, Alan Coopersmith alan.coopersm...@oracle.com wrote: 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

Re: supported gcc versions (was [PATCH:libXmu] Use _X_ATTRIBUTE_PRINTF from Xfuncproto.h in Xmu headers)

2010-06-10 Thread Matthieu Herrb
On Wed, Jun 09, 2010 at 01:20:41PM -0700, Alan Coopersmith wrote: That sounds like we could almost just call it #ifdef __GNUC__ then. The oldest gcc version I remember us claiming to support in X.Org was 2.95, since that's what one of the BSD's was using (and possibly a previous RHEL?).