Skip to content

Commit

Permalink
configure: For MinGW build enable -Werror
Browse files Browse the repository at this point in the history
But avoid -Wcast-function-type (from -Wextra)
since that is not useful for code using
GetProcAddress.

Signed-off-by: Frank Lichtenheld <[email protected]>
  • Loading branch information
flichtenheld authored and cron2 committed Feb 18, 2025
1 parent 2721540 commit 528df5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 528df5e

Please sign in to comment.