Wine: Use GCC's -Wlogical-op if supported.
Gerald Pfeifer
gerald at pfeifer.com
Sun Sep 19 06:59:16 CDT 2010
In the past this has found a dozen or two real issues and lead to some
simplifications. Now the tree is clean in that regard, so we can make
this a default.
Gerald
---
configure.ac | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index a7f6b2b..247af05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1611,6 +1611,7 @@ then
WINE_TRY_CFLAGS([-fno-builtin],[AC_SUBST(BUILTINFLAG,"-fno-builtin")])
WINE_TRY_CFLAGS([-fno-strict-aliasing])
WINE_TRY_CFLAGS([-Wdeclaration-after-statement])
+ WINE_TRY_CFLAGS([-Wlogical-op])
WINE_TRY_CFLAGS([-Wstrict-prototypes])
WINE_TRY_CFLAGS([-Wtype-limits])
WINE_TRY_CFLAGS([-Wwrite-strings])
--
1.7.2.2
More information about the wine-patches
mailing list