configure: For MinGW build enable -Werror

But avoid -Wcast-function-type (from -Wextra)
since that is not useful for code using
GetProcAddress.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
master
Frank Lichtenheld 2025-01-21 18:22:42 +01:00 committed by Gert Doering
parent 2721540f89
commit 528df5e259
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
test "${GCC}" = "yes" && CFLAGS="${CFLAGS} -pedantic -Wall -Wextra"
test "${GCC}" = "yes" && CFLAGS="${CFLAGS} -pedantic -Wall -Wextra -Wno-cast-function-type -Werror"
AC_CONFIG_FILES([Makefile plap/Makefile])
AC_OUTPUT