Re: [bug-gnulib] strstr redefinition fix

2005-09-15 Thread Bruno Haible
Derek Price wrote: > Bruno Haible wrote: > >Thanks. I applied the appended patch, very similar to yours. (But move > >the #include outside the extern "C" { ... }.) > > Any reason why you left this inside? > > + #undef strstr > + #define strstr rpl_strstr > > > Just because it didn't matter? Yes,

Re: [bug-gnulib] strstr redefinition fix

2005-09-15 Thread Derek Price
Bruno Haible wrote: >Thanks. I applied the appended patch, very similar to yours. (But move >the #include outside the extern "C" { ... }.) > > Any reason why you left this inside? + #undef strstr + #define strstr rpl_strstr Just because it didn't matter? Thanks, Derek -- Derek R. Price

Re: [bug-gnulib] strstr redefinition fix

2005-09-15 Thread Bruno Haible
Derek Price wrote: > The new strstr module is causing a redefinition warnings from many files > and then strstr.c fails to compile thus on an Alpha Linux 2.2.20 system > running gcc 2.95.4: > > gcc -DHAVE_CONFIG_H -I. -I/home/users/d/de/derekrprice/cvs-nightly/lib -I.. > -Ino/include -g -O2 -c >

strstr redefinition fix

2005-09-15 Thread Derek Price
The new strstr module is causing a redefinition warnings from many files and then strstr.c fails to compile thus on an Alpha Linux 2.2.20 system running gcc 2.95.4: gcc -DHAVE_CONFIG_H -I. -I/home/users/d/de/derekrprice/cvs-nightly/lib -I.. -Ino/include -g -O2 -c /home/users/d/de/derekrprice/c