|
From: | Eric Blake |
Subject: | Re: wmemchr on MSVC |
Date: | Mon, 03 Oct 2011 17:35:49 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.4 Thunderbird/3.1.14 |
On 10/03/2011 05:31 PM, Bruno Haible wrote:
On MSVC 9, we get a compilation error in gnulib's<wchar.h> 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.
Technically, letting MSVC provide only an inline function will break the ability to pass around a function pointer for wmemchr. I'm surprised that letting the inline function get by still passes the signature checks in the unit tests.
-- Eric Blake address@hidden +1-801-349-2682 Libvirt virtualization library http://libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |