The xalloc.h header provided by gnulib contains the following
directives.  Some other headers also contain similar directives:

    # ifndef __attribute__
    #  if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || 
__STRICT_ANSI__
    #   define __attribute__(x)
    #  endif
    # endif

This seems pretty unfriendly to later code that may want to use
__attribute__ and doesn't expect to be interfered with this way.
I would suggest using a different identifier, but if not, then it
seems like the various versions should be the same, at least.
Some make use of __attribute__ conditional on GCC 2.5 or later,
others on GCC 2.8 or later.  The results are thus going to vary
based on the order of inclusion of header files.
-- 
[EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED]



_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to