Re: [bug-gnulib] gnulib features.h? (was regex warnings)

2005-09-15 Thread Bruno Haible
Paul Eggert wrote: > You can use the __GNUC_PREREQ macro of md5.h. Well, I find that #if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR < 1) is just as understandable as #if !__GNUC_PREREQ (3, 1) and that therefore such a features.h is not needed. Probably a matter of taste... Bruno __

Re: gnulib features.h? (was regex warnings)

2005-09-15 Thread Derek Price
Paul Eggert wrote: >I'd fix it if I were you. You can use the __GNUC_PREREQ macro of >md5.h. > > I know I've already installed this fix but, for future reference, is there a simple reference I could use to find what version of GCC an attribute first appeared in? Something easier than fumbling

Re: gnulib features.h? (was regex warnings)

2005-09-15 Thread Derek Price
Paul Eggert wrote: >I'd fix it if I were you. You can use the __GNUC_PREREQ macro of >md5.h. > I've installed the attached patch. It compiles cleanly on the offending alpha-linux system. I pretty-much cut & pasted the __GNUC_PREREQ macro out of md5.h, as you suggested, and used it, except in r

gnulib features.h? (was regex warnings)

2005-09-15 Thread Paul Eggert
Derek Price <[EMAIL PROTECTED]> writes: > I'm seeing "warning: `pure' attribute directive ignored" warnings from > regex_internal.h & regex_internal.c compiling with GCC 2.95.4 on Alpha > Linux 2.2.20. Similarly, I see "warning: `always_inline' attribute > directive ignored" warnings compiling re

regex warnings

2005-09-15 Thread Derek Price
I'm seeing "warning: `pure' attribute directive ignored" warnings from regex_internal.h & regex_internal.c compiling with GCC 2.95.4 on Alpha Linux 2.2.20. Similarly, I see "warning: `always_inline' attribute directive ignored" warnings compiling regcomp.c & regexec.c. Is this something worth wor

Re: [bug-gnulib] regex warnings on linux

2005-08-20 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > Sam Steingold wrote: >> fc4: >> >> In file included from regex.c:86: >> regcomp.c: In function 'regerror': >> regcomp.c:563: warning: implicit declaration of function 'mempcpy' >> regcomp.c:563: warning: incompatible implicit declaration of built-in >> f

Re: [bug-gnulib] regex warnings on linux

2005-08-19 Thread Bruno Haible
Sam Steingold wrote: > fc4: > > In file included from regex.c:86: > regcomp.c: In function 'regerror': > regcomp.c:563: warning: implicit declaration of function 'mempcpy' > regcomp.c:563: warning: incompatible implicit declaration of built-in > function ' mempcpy' > regcomp.c: In function 'build_

regex warnings on linux

2005-08-18 Thread Sam Steingold
fc4: In file included from regex.c:86: regcomp.c: In function 'regerror': regcomp.c:563: warning: implicit declaration of function 'mempcpy' regcomp.c:563: warning: incompatible implicit declaration of built-in function ' mempcpy' regcomp.c: In function 'build_charclass': regcomp.c:3616: warning: