Robert Shearman wrote:
> 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.
>
Yeah, that's what I'd expect gcc should do, but if there is a bug in
official
release of gcc that is easy to workaround, we should do it in Wine IMO.
Can anyone confirm that it's really a bug in gcc (I'm not C spec expert
too)?
Jacek