Re: mbrtowc.m4 bug in c++

2009-06-25 Thread Bruno Haible
Sam Steingold wrote: > when a CC=g++, tests in mbrtowc.m4 fail with > > error: 'mbtowc' was not declared in this scope > > since 'mbtowc' is declared in stdlib.h, > I think this patch is in order: You're absolutely right. Applied like this: 2009-06-25 Sam Steingold * mbrtowc.m4 (gl

mbrtowc.m4 bug in c++

2009-06-25 Thread Sam Steingold
Hi, when a CC=g++, tests in mbrtowc.m4 fail with error: 'mbtowc' was not declared in this scope since 'mbtowc' is declared in stdlib.h, I think this patch is in order: 2009-06-15 Sam Steingold * mbrtowc.m4 (gl_MBRTOWC_SANITYCHECK): include for the mbtowc declaration ---