Re: test-string-c++ test failure

2010-03-13 Thread Jim Meyering
Bruno Haible wrote: > Jim Meyering wrote: >> In file included from test-string-c++.cc:23: >> ../lib/string.h:299: error: type of 'memchr' is unknown >> ../lib/string.h:299: error: invalid type in declaration before ';' token >> ../lib/string.h:299: error: 'int memchr' redeclared as different kind o

Re: test-string-c++ test failure

2010-03-13 Thread Bruno Haible
Jim Meyering wrote: > In file included from test-string-c++.cc:23: > ../lib/string.h:299: error: type of 'memchr' is unknown > ../lib/string.h:299: error: invalid type in declaration before ';' token > ../lib/string.h:299: error: 'int memchr' redeclared as different kind of > symbol > /usr/include

Re: test-string-c++ test failure

2010-03-13 Thread Jim Meyering
Jim Meyering wrote: > Bruno Haible wrote: > ... >> This should fix it: >> >> 2010-03-11 Bruno Haible >> >> Fix problems with overloaded C++ definitions of memchr, strpbrk, etc. >> * build-aux/c++defs.h (_GL_CXXALIAS_SYS_CAST2): Make it work regardless >> whether the system provid

Re: test-string-c++ test failure

2010-03-11 Thread Jim Meyering
Bruno Haible wrote: ... > This should fix it: > > 2010-03-11 Bruno Haible > > Fix problems with overloaded C++ definitions of memchr, strpbrk, etc. > * build-aux/c++defs.h (_GL_CXXALIAS_SYS_CAST2): Make it work regardless > whether the system provides one variant or multiple va

Re: test-string-c++ test failure

2010-03-11 Thread Bruno Haible
Hi Jim, > Here's a much easier way to reproduce the problem, > using only gnulib. The key is to test the string > module with another, like memchr: > > $ ./gnulib-tool --test --with-tests string memchr > > Here's the output I see: Thanks. This is much easier. It is in fact the first thing

test-string-c++ test failure [Re: bootstrap and git submodules

2010-03-10 Thread Jim Meyering
>> I tried the latest from gnulib via coreutils, >> ... >> In file included from test-string-c++.cc:23: >> ../lib/string.h:301: error: type of 'memchr' is unknown > > Can you please tell me how to reproduce? Here's a much easier way to reproduce the problem, using only gnulib. The key is to test