Re: [bug-gnulib] some headers prevent later code from using __attribute__

2005-08-15 Thread Paul Eggert
Ben Pfaff <[EMAIL PROTECTED]> writes: >> Do you know anybody still seriously using a GCC version < 2.95 ? > > I do not. Is this a serious argument against doing the right > thing? I think the problem is that we cannot seriously test any changes here. Also, there are probably some backward-compat

Re: [bug-gnulib] some headers prevent later code from using __attribute__

2005-07-30 Thread Ben Pfaff
Bruno Haible <[EMAIL PROTECTED]> writes: > Ben Pfaff wrote: >> 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 r

Re: [bug-gnulib] some headers prevent later code from using __attribute__

2005-07-30 Thread Bruno Haible
Ben Pfaff wrote: > 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 ord

some headers prevent later code from using __attribute__

2005-07-29 Thread Ben Pfaff
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 Th