30 lines
981 B
Diff
30 lines
981 B
Diff
|
|
From 7f006f8ad53e3da49c408e70a6a2d9193b2b8684 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Robert Edmonds <edmonds@users.noreply.github.com>
|
||
|
|
Date: Sat, 8 Jul 2023 23:27:18 -0400
|
||
|
|
Subject: [PATCH] configure.ac: Drop -Wc99-c11-compat
|
||
|
|
|
||
|
|
This diagnostic isn't particularly useful since it fires on generated
|
||
|
|
.pb-c.h files.
|
||
|
|
---
|
||
|
|
configure.ac | 4 ----
|
||
|
|
1 file changed, 4 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/configure.ac b/configure.ac
|
||
|
|
index f03198a..065a0a5 100644
|
||
|
|
--- a/configure.ac
|
||
|
|
+++ b/configure.ac
|
||
|
|
@@ -38,10 +38,6 @@ my_CFLAGS="\
|
||
|
|
-Wstrict-prototypes \
|
||
|
|
-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"],
|
||
|
|
[my_CFLAGS="$my_CFLAGS -Werror=incompatible-pointer-types"])
|
||
|
|
AX_CHECK_COMPILE_FLAG(["-Werror=int-conversion"],
|
||
|
|
--
|
||
|
|
2.33.0
|
||
|
|
|