From addf4821d920b163ec28e4be007dbd5a2498ec7b Mon Sep 17 00:00:00 2001 From: cathugger Date: Sun, 31 Mar 2019 23:35:41 +0300 Subject: [PATCH] damn win gcc --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 8e88701..e47e938 100644 --- a/configure.ac +++ b/configure.ac @@ -209,13 +209,13 @@ then ) fi -CFLAGS="$cstd -Wno-pedantic-ms-format -Werror" -AC_MSG_CHECKING([whether CC supports and needs -Wno-pedantic-ms-format]) +CFLAGS="$cstd -Wno-format -Wno-pedantic-ms-format -Werror" +AC_MSG_CHECKING([whether CC supports and needs -Wno-format -Wno-pedantic-ms-format]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifndef _WIN32 #error wants windows #endif]], [])], [AC_MSG_RESULT([yes])] - [cstd="$cstd -Wno-pedantic-ms-format"], + [cstd="$cstd -Wno-format -Wno-pedantic-ms-format"], [AC_MSG_RESULT([no])] )