Bruno Haible wrote: ... > This should fix it: > > 2010-03-11 Bruno Haible <br...@clisp.org> > > 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 variants of the > function. > * lib/string.in.h (memchr, strpbrk): Use _GL_CXXALIAS_SYS_CAST2 for all > C++ compilers. > (memrchr, rawmemchr, strchrnul, strstr, strcasestr): Use > _GL_CXXALIAS_SYS_CAST2 instead of _GL_CXXALIAS_SYS. > Reported by Jim Meyering.
Thanks! That does indeed solve the problem for me.