Bruno Haible: > Thanks for the report. I'm applying this patch to gnulib (this is where > the generated string.h comes from). The fix will automatically be > included in gettext 0.18.2.
I confirm that this fixes the problem. > 2010-06-29 Bruno Haible <br...@clisp.org> > > string: Fix syntax error with g++ 2.96. > * lib/string.in.h (__pure__): Remove definition. > (_GL_ATTRIBUTE_PURE): New macro. > (memchr, memmem, memrchr, rawmemchr, strchrnul, strnlen, strpbrk, > strstr, strcasestr): Use it instead of __attribute__ ((__pure__)). > Reported by Christian Weisgerber <na...@mips.inka.de>. [...] -- Christian "naddy" Weisgerber na...@mips.inka.de