http://bugs.winehq.org/show_bug.cgi?id=15364
Maarten Lankhorst m.b.lankhorst@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |m.b.lankhorst@gmail.com
--- Comment #2 from Maarten Lankhorst m.b.lankhorst@gmail.com 2008-09-21 19:07:34 --- If you actually took a look at config.log you would see this:
Program is:
#include <X11/Xlib.h> #include <X11/extensions/Xrandr.h> int main () { static typeof(XRRSetScreenConfigAndRate) * func; ; return 0; }
conftest.c: In function 'main': conftest.c:136: warning: unused variable 'func' configure:10683: $? = 1
This is not evadable, unless you add -Wno-unused
As an alternative you can invoke make as "make CFLAGS='-Wall -Werror -O2'".
Perhaps it would work if the program was this?
#include <X11/Xlib.h> #include <X11/extensions/Xrandr.h> int main () { void *foo; foo = &XRRSetScreenConfigAndRate; return 0; }