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 | 96369288a34805d08e396791b7e2567eb7c5b91f (patch) | |
tree | ee2a1fa86c8cbd6a05f297c6fbb81c4c78afd6d5 | |
parent | 93f3f7591159a4a0971402c57169c9c698f9c60a (diff) | |
download | txr-96369288a34805d08e396791b7e2567eb7c5b91f.tar.gz txr-96369288a34805d08e396791b7e2567eb7c5b91f.tar.bz2 txr-96369288a34805d08e396791b7e2567eb7c5b91f.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.
-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= |