shlwapi: Fix compilaction with GCC 4.1.

Robert Shearman rob at
Sat Mar 18 07:07:34 CST 2006

Jacek Caban wrote:

>Without this patch GCC 4.1 fails with message
>string.c:531: undefined reference to `strncmpW'

That would seem to be a bug in GCC 4.1. I'm no expert on the C spec, but
if the compiler can't inline the function, as it can't here when a
function pointer is used then I think it should include the static
version of the function in the object file.

Rob Shearman

More information about the wine-devel mailing list