summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-12-23 06:31:30 -0800
committerKaz Kylheku <kaz@kylheku.com>2020-12-23 06:31:30 -0800
commit54a1377a5985463d8ba474f9d0ad3fa3a7aaad06 (patch)
treeee2a1fa86c8cbd6a05f297c6fbb81c4c78afd6d5 /configure
parent0fc0ee99965ae1657bb212702ba489333fbe193b (diff)
downloadtxr-54a1377a5985463d8ba474f9d0ad3fa3a7aaad06.tar.gz
txr-54a1377a5985463d8ba474f9d0ad3fa3a7aaad06.tar.bz2
txr-54a1377a5985463d8ba474f9d0ad3fa3a7aaad06.zip
configure: get rid of -Wold-style-declaration
* configure (diag_flags): Remove the -Wold-style-declaration option. It is not useful, unlike -Wold-style-definition; it warns agains some unspecified old style usages, like storage class specifiers not being first. Moreover, clang 10 does not recognize this option and complains.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 75fd7591..12b97e87 100755
--- a/configure
+++ b/configure
@@ -161,7 +161,7 @@ opt_flags='-O2 -fno-stack-protector'
lang_flags='-D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200112 -D_GNU_SOURCE'
diag_flags="-Wall -Wextra -Werror=implicit-function-declaration \
-Werror=missing-prototypes -Werror=strict-prototypes \
- -Werror=old-style-declaration -Werror=old-style-definition"
+ -Werror=old-style-definition"
debug_flags=-g
debug_only_flags=-DTXR_DEBUG
debug_also=