add -Werror to default compiler options

James Hawkins truiken at
Thu Sep 18 19:17:33 CDT 2008

On Thu, Sep 18, 2008 at 7:10 PM, Juan Lang <juan.lang at> wrote:
>> Are you sure about that?  When I configure with -Wall -Werror,
>> I can't even configure properly; one gets the errors
>> configure: libxrandr development files not found, XRandr won't be supported.
>> configure: libxinerama development files not found, multi-monitor
>> setups won't be supported.
>> configure: WARNING: Old Mesa headers detected. Consider upgrading your
>> Mesa libraries.
>> OpenGL and Direct3D won't be supported.
> This is precisely part of the problem with -Werror.  You've now caused
> some configure checks to fail that, presumably, were passing before.
> Are they worth making warning-free?  Some of the warnings may be in
> headers we don't control.  What do we do then?

I think the important thing for Dan's case is that he also used -Wall,
which we should never turn on by default, especially not with -Werror.
 Correct me if I've made an incorrect assumption.

James Hawkins

More information about the wine-devel mailing list