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

franek.witt at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Jul 9 09:33:13 GMT 2024


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

--- Comment #7 from Franciszek Witt <franek.witt at gmail dot com> ---
I believe it might also be worth reporting that a comma or an operator is
likely missing in case the braces.require_close failed and the next token is
not ';' (this is just a heuristic, some better condition probably could be used
here). 
What do you think about this idea?


More information about the Gcc-bugs mailing list