Sylvain Beucler wrote: > Afaics Gnulib's string.h will define __attribute__ to be empty: > > #ifndef __attribute__ > /* This feature is available in gcc versions 2.5 and later. */ > # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || > __STRICT_ANSI__ > # define __attribute__(Spec) /* empty */ > # endif
Which version of gcc are you using, and with which CFLAGS and CPPFLAGS? Bruno