diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2021-10-11 07:14:05 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2021-10-11 07:14:57 +0200 |
commit | 6e6950fbbc6ffe7ca5b475caca8581ade76823db (patch) | |
tree | dccb9a5ee503ec9de673eaad013ddbe11fd1ff98 | |
parent | 4fe5a375fa6cb07f1c5cb6507b3c4e3b38e6fcef (diff) | |
download | bison-6e6950fbbc6ffe7ca5b475caca8581ade76823db.tar.gz |
build: check -Wsubobject-linkage in C++
* configure.ac (warn_cxx): here.
-rw-r--r-- | TODO | 4 | ||||
-rw-r--r-- | configure.ac | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,8 @@ * Soon +** yyerror_range in GLR +It seems useless that it is based on glr_stack_item, it should be doable +with location only. + ** scan-code The default case is scanning char-per-char. diff --git a/configure.ac b/configure.ac index 7f6133eb..926dc99f 100644 --- a/configure.ac +++ b/configure.ac @@ -137,7 +137,8 @@ if test "$enable_gcc_warnings" = yes; then warn_c='-Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes' - warn_cxx='-Wextra-semi -Wnoexcept -Wold-style-cast -Wundefined-func-template + warn_cxx='-Wextra-semi -Wnoexcept -Wsubobject-linkage + -Wold-style-cast -Wundefined-func-template -Wweak-vtables' # Warnings for the test suite only. # |