Wine's configure script when cross-compiling

Dan Kegel dank at
Tue Oct 25 23:49:30 CDT 2011

Welcome to the wonderful world of autoconf!

> The code that generates conftest.c does not provide for an argument to strerror.   Why doesn't it?  And how does the configure script succeed when compiling for x86?

If I recall correctly:
Because conftest.c doesn't include the .h file that declares strerror(),
and C doesn't have typesafe linkage, checking for the
presence of a function by linking to it with a totally bogus call
with no arguments should work fine.

It's not clear why the compiler is complaining -
did it somehow see a .h file that declared strerror()?

What compiler are you using?

More information about the wine-devel mailing list