Disable some Windows specific compiler warnings
The -Wno-pedantic-ms-format option is only needed for the MinGW target. But for some reason, the AX_APPEND_COMPILE_FLAGS macro enables the option for all other GCC targets too. But during compilation GCC outputs the warning "unrecognized command line option".
This commit is contained in:
parent
90eed3c790
commit
931d1857ce
@ -188,6 +188,11 @@ AX_APPEND_COMPILE_FLAGS([ \
|
||||
-Wno-unused-parameter \
|
||||
])
|
||||
|
||||
# Windows specific compiler options.
|
||||
AS_IF([test "$os_win32" = "yes"], [
|
||||
AX_APPEND_COMPILE_FLAGS([-Wno-pedantic-ms-format])
|
||||
])
|
||||
|
||||
# Versioning.
|
||||
AC_SUBST([DC_VERSION],[dc_version])
|
||||
AC_SUBST([DC_VERSION_MAJOR],[dc_version_major])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user