Re: wmemchr on MSVC

2011-10-03 Thread Bruno Haible
Eric Blake wrote: > letting MSVC provide only an inline function will break the > ability to pass around a function pointer for wmemchr. No, it will only break the ability to compare such function pointers with ==. > I'm surprised that letting the inline function get by still passes the > signa

Re: wmemchr on MSVC

2011-10-03 Thread Eric Blake
On 10/03/2011 05:31 PM, Bruno Haible wrote: On MSVC 9, we get a compilation error in gnulib's replacement, because the autoconf test has not found the wmemchr() function - in fact, it's an inline function - and therefore our wchar.h provides a substitute - which is in fact unnecessary. Technica

wmemchr on MSVC

2011-10-03 Thread Bruno Haible
On MSVC 9, we get a compilation error in gnulib's replacement, because the autoconf test has not found the wmemchr() function - in fact, it's an inline function - and therefore our wchar.h provides a substitute - which is in fact unnecessary. This fixes it. Likewise for wmemcmp, wmemcpy, wmemmove