mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-27 13:31:02 +08:00
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:
parent
94d8a28db5
commit
7f006f8ad5
@ -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"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user