--- lib/Xt/IntrinsicI.h.xx 2005-02-01 11:48:09.000000000 +0100 +++ lib/Xt/IntrinsicI.h 2005-02-01 16:09:16.418635566 +0100 @@ -223,11 +223,18 @@ #ifdef XT_GEO_TATTLER + +#if defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3))) +# define _XT_ATTRIBUTE_PRINTF(x,y) __attribute__((__format__(__printf__,x,y))) +#else +# define _XT_ATTRIBUTE_PRINTF(x,y) +#endif extern void _XtGeoTab (int); extern void _XtGeoTrace ( Widget widget, ... -); +) _XT_ATTRIBUTE_PRINTF(2,3); +#undef _XT_ATTRIBUTE_PRINTF #define CALLGEOTAT(f) f