Barbie LeVile wrote: > Hello > > Trying to build some software, and on many cases the exact same errors show > up: > > "/usr/X11/include/X11/Xlib.h", line 3572: syntax error before or at: > _X_SENTINEL > "/usr/X11/include/X11/Xlib.h", line 3572: warning: old-style declaration or > incorrect type for: _X_SENTINEL
Xlib.h includes Xfuncproto.h which does: #if defined(__GNUC__) && (__GNUC__ >= 4) # define _X_SENTINEL(x) __attribute__ ((__sentinel__(x))) # define _X_ATTRIBUTE_PRINTF(x,y) __attribute__((__format__(__printf__,x,y))) #else # define _X_SENTINEL(x) # define _X_ATTRIBUTE_PRINTF(x,y) #endif /* GNUC >= 4 */ Are you somehow including an Xfuncproto.h without that? -- -Alan Coopersmith- alan.coopersmith at sun.com Sun Microsystems, Inc. - X Window System Engineering