Re: latest test-string-c++.c causes CXX compilation failure

2010-03-09 Thread Jim Meyering
Jim Meyering wrote: > I tried the latest from gnulib via coreutils, > and saw this: > > In file included from test-string-c++.cc:23: > ../lib/string.h:301: error: type of 'memchr' is unknown > ../lib/string.h:301: error: invalid type in declaration before ';' token > ../lib/string.h:301: error: 'in

latest test-string-c++.c causes CXX compilation failure

2010-03-09 Thread Jim Meyering
Hi, I tried the latest from gnulib via coreutils, and saw this: In file included from test-string-c++.cc:23: ../lib/string.h:301: error: type of 'memchr' is unknown ../lib/string.h:301: error: invalid type in declaration before ';' token ../lib/string.h:301: error: 'int memchr' redeclared as diff