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.