configure: Use the -Wignored-qualifiers compiler option if available. available.
Gerald Pfeifer
gerald at pfeifer.com
Mon Jan 23 14:58:35 CST 2012
I made sure this does not trigger any warnings at this point.
(In GCC, this is part of -Wextra which we cannot use due to hundreds,
if not thousands, undesirable warnings, so I am only adding this one.)
Gerald
---
configure.ac | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 5810111..9a4848b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1705,6 +1705,7 @@ then
WINE_TRY_CFLAGS([-fno-strict-aliasing])
WINE_TRY_CFLAGS([-Wdeclaration-after-statement])
WINE_TRY_CFLAGS([-Wempty-body])
+ WINE_TRY_CFLAGS([-Wignored-qualifiers])
WINE_TRY_CFLAGS([-Wstrict-prototypes])
WINE_TRY_CFLAGS([-Wtype-limits])
WINE_TRY_CFLAGS([-Wunused-but-set-parameter])
--
1.7.7.3
More information about the wine-patches
mailing list