Re: [bug-gnulib] fix incompatibilities of regex with gcc -ansi -pedantic

2006-11-27 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > How about this? That sounds good, except I prefer using < to > due to Leibnitz's design philosophy for notation (which I learned from Val Schorre); the style is already being used earlier in the code when checking GCC versions. Also, when an expression

Re: [bug-gnulib] fix incompatibilities of regex with gcc -ansi -pedantic

2006-11-27 Thread Bruno Haible
Hi Paul, > --- lib/regex.h 10 Aug 2006 20:08:01 - 1.38 > +++ lib/regex.h 27 Nov 2006 07:15:02 - > @@ -635,14 +635,17 @@ > # endif > # endif > #endif > -/* gcc 3.1 and up support the [restrict] syntax. */ > -#ifndef __restrict_arr > -# if (__GNUC__ > 3 || (__GNUC__ ==

fix incompatibilities of regex with gcc -ansi -pedantic

2006-11-26 Thread Paul Eggert
I tried compiling coreutils with gcc -ansi -pedantic (ah, the good old days!) and found some incompatibilities had crept into the regex module. I installed this to fix them: 2006-11-26 Paul Eggert <[EMAIL PROTECTED]> Fix some incompatibilities with gcc -ansi -pedantic. * lib/re