[Bug c++/107178] Diagnosis for colon vs semi-colon in a member function declaration
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 7 08:28:40 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107178
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #4)
> (In reply to Jonathan Wakely from comment #3)You'd need to change "T
> foo():" to "int foo:N" i.e. change the type, remove the parens, and add a
> constant for the size.
*and* add a semi-colon!
More information about the Gcc-bugs
mailing list