Add -Wno-declaration-after-statement to silence warnings that only apply to pre-C99 (#2345)

This commit is contained in:
Kent Sutherland authored and GitHub committed 2023-03-22 20:03:17 -07:00
1 parent 631846cc82
commit 8e2107a57d
1 file changed
+1 -1
+1 -1
View File
@@ -161,4 +161,4 @@ GCC_WARN_UNUSED_PARAMETER = YES
GCC_WARN_UNUSED_VARIABLE = YES
// Turn on all warnings, then disable a few which are almost impossible to avoid
WARNING_CFLAGS = -Wall -Weverything -Wno-unused-macros -Wno-gnu-statement-expression -Wno-auto-import -Wno-gnu-zero-variadic-macro-arguments -Wno-format-non-iso -Wno-direct-ivar-access -Werror=undef
WARNING_CFLAGS = -Wall -Weverything -Wno-unused-macros -Wno-gnu-statement-expression -Wno-auto-import -Wno-gnu-zero-variadic-macro-arguments -Wno-format-non-iso -Wno-direct-ivar-access -Wno-declaration-after-statement -Werror=undef