[Bug c++/101232] Bad error message with stray semicolon in initializer

franek.witt at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jul 18 13:28:26 GMT 2024


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101232

--- Comment #9 from Franciszek Witt <franek.witt at gmail dot com> ---
I have implemented the improvement mentioned by Jason and also added the hint
about missing comma or operator.
This patch fails testsuite/g++.dg/parse/error59.C but it was intended to check
for ICE (see PR c++/84493) so I think it is fine to accept a different error
message?


More information about the Gcc-bugs mailing list