summaryrefslogtreecommitdiff
path: root/THANKS
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2022-08-01 08:02:20 +0200
committerAkim Demaille <akim.demaille@gmail.com>2022-08-01 08:02:20 +0200
commitb7bdf78c1836dd103fed56105676ef8de3f33c45 (patch)
tree79f3978c208dfd08d9a3acbec27834f995282acf /THANKS
parent722070124e991ee93ec3ffbde631b5f3713cd9f0 (diff)
downloadbison-b7bdf78c1836dd103fed56105676ef8de3f33c45.tar.gz
glr2.cc: fix -Wnoexcept issues
440-453 and 685 failed with GCC 12.1: ``` test.cc:1814:21: required from here /opt/local/include/gcc12/c++/bits/stl_construct.h:95:14: error: noexcept-expression evaluates to 'false' because of a call to '{anonymous}::glr_stack_item::glr_stack_item(bool)' [-Werror=noexcept] 95 | noexcept(noexcept(::new((void*)0) _Tp(std::declval<_Args>()...))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test.cc:1486:5: note: but '{anonymous}::glr_stack_item::glr_stack_item(bool)' does not throw; perhaps it should be declared 'noexcept' 1486 | glr_stack_item (bool state = true) | ^~~~~~~~~~~~~~ ``` Reported by Paul Eggert. <https://lists.gnu.org/r/bison-patches/2022-07/msg00008.html> * data/skeletons/glr2.cc (glr_state, glr_stack_item): Declare the default ctors noexcept.
Diffstat (limited to 'THANKS')
0 files changed, 0 insertions, 0 deletions