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
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
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
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
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
>> 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