diff options
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/configure b/gdb/configure index d719a64..5ac1a1c 100755 --- a/gdb/configure +++ b/gdb/configure @@ -26774,6 +26774,12 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ -Wformat-nonliteral -Wno-pointer-sign \ -Wno-unused -Wno-switch -Wno-char-subscripts" +# Enable -Wno-format by default when using gcc on mingw since many +# GCC versions complain about %I64. +case "${host}" in + *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; +esac + # Check whether --enable-build-warnings or --disable-build-warnings was given. if test "${enable_build_warnings+set}" = set; then enableval="$enable_build_warnings" |