[PATCH 14/14] configure: Re-enable warnings disabled with Wno-format.

Rémi Bernon rbernon at codeweavers.com
Tue Feb 11 12:09:36 CST 2020


Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
 configure.ac | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index e06743c2ea3..cb1bd27a8d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1063,7 +1063,9 @@ then
 
         case $host_cpu in
           *i[[3456789]]86*) WINE_TRY_CROSSCFLAGS([-fno-omit-frame-pointer]) ;;
-          x86_64) WINE_TRY_CROSSCFLAGS([-Wno-format]) ;;
+          x86_64) WINE_TRY_CROSSCFLAGS([-Wno-format])
+                  WINE_TRY_CROSSCFLAGS([-Wformat-overflow])
+                  WINE_TRY_CROSSCFLAGS([-Wnonnull]) ;;
         esac
 
         dnl Default to dwarf-2 debug info
-- 
2.25.0




More information about the wine-devel mailing list