configure.ac: Drop -Wc99-c11-compat

This diagnostic isn't particularly useful since it fires on generated
.pb-c.h files.
This commit is contained in:
Robert Edmonds 2023-07-08 23:27:18 -04:00
parent 94d8a28db5
commit 7f006f8ad5

View File

@ -38,10 +38,6 @@ my_CFLAGS="\
-Wstrict-prototypes \ -Wstrict-prototypes \
-Wtype-limits \ -Wtype-limits \
" "
#AX_CHECK_COMPILE_FLAG(["-Wc90-c99-compat"],
# [my_CFLAGS="$my_CFLAGS -Wc90-c99-compat"])
AX_CHECK_COMPILE_FLAG(["-Wc99-c11-compat"],
[my_CFLAGS="$my_CFLAGS -Wc99-c11-compat"])
AX_CHECK_COMPILE_FLAG(["-Werror=incompatible-pointer-types"], AX_CHECK_COMPILE_FLAG(["-Werror=incompatible-pointer-types"],
[my_CFLAGS="$my_CFLAGS -Werror=incompatible-pointer-types"]) [my_CFLAGS="$my_CFLAGS -Werror=incompatible-pointer-types"])
AX_CHECK_COMPILE_FLAG(["-Werror=int-conversion"], AX_CHECK_COMPILE_FLAG(["-Werror=int-conversion"],