diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-12-23 06:31:30 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-12-23 06:31:30 -0800 |
commit | 54a1377a5985463d8ba474f9d0ad3fa3a7aaad06 (patch) | |
tree | ee2a1fa86c8cbd6a05f297c6fbb81c4c78afd6d5 /configure | |
parent | 0fc0ee99965ae1657bb212702ba489333fbe193b (diff) | |
download | txr-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-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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= |