summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2021-10-11 07:14:05 +0200
committerAkim Demaille <akim.demaille@gmail.com>2021-10-11 07:14:57 +0200
commit6e6950fbbc6ffe7ca5b475caca8581ade76823db (patch)
treedccb9a5ee503ec9de673eaad013ddbe11fd1ff98
parent4fe5a375fa6cb07f1c5cb6507b3c4e3b38e6fcef (diff)
downloadbison-6e6950fbbc6ffe7ca5b475caca8581ade76823db.tar.gz
build: check -Wsubobject-linkage in C++
* configure.ac (warn_cxx): here.
-rw-r--r--TODO4
-rw-r--r--configure.ac3
2 files changed, 6 insertions, 1 deletions
diff --git a/TODO b/TODO
index d89894c7..3fd48fac 100644
--- a/TODO
+++ b/TODO
@@ -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.
#