configure: try to use -Werror=unknown-warning-option if available (2/2)
Alexandre Julliard
julliard at winehq.org
Thu May 16 05:23:14 CDT 2013
Austin English <austinenglish at gmail.com> writes:
> @@ -1773,6 +1773,7 @@ then
> fi
>
> dnl Check for some compiler flags
> + WINE_TRY_CFLAGS([-Werror=unknown-warning-option])
> WINE_TRY_CFLAGS([-fno-builtin],[AC_SUBST(BUILTINFLAG,"-fno-builtin")])
> WINE_TRY_CFLAGS([-fno-strict-aliasing])
> WINE_TRY_CFLAGS([-Wdeclaration-after-statement])
I don't think we want to build with that, it should be used only for the
configure checks.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list