[PATCH] ws2_32/tests: Fix compilation warning

Alexandre Julliard julliard at winehq.org
Mon Oct 9 13:22:16 CDT 2017

Alexandre Julliard <julliard at winehq.org> writes:

> Fabian Maurer <dark.shadow4 at web.de> writes:
>>> I don't get any warnings on Debian with gcc 7.2.0.
>> Happens to be when using
>>> CFLAGS="-Werror" ./configure
>> Without -Werror I don't even get a warning for some reason though.
> Running configure with -Werror is a bad idea, it will screw up check
> results. You should pass it to make but not configure.

Note that in this case, the warning is most likely because by passing
such CFLAGS you are disabling optimizations, which probably causes gcc
to not track the code flow correctly.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list