[Bug c++/96120] Ambiguity diagnostic message of "invalid use of type 'void' in parameter declaration"
haoxintu at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Jul 8 16:21:56 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96120
--- Comment #3 from Haoxin Tu <haoxintu at gmail dot com> ---
(In reply to Jonathan Wakely from comment #1)
> (In reply to Haoxin Tu from comment #0)
> > GCC might emit the ambiguity diagnostic message on it.
>
> What does that mean?
Apologize for my expression. I mean the meaning of the error message "invalid
use of type ‘void’ in parameter declaration" is opposite with the valid
grammar(it should be allowed in the first parameter).
This might be not a bug, might be just an improvement?
Thanks.
More information about the Gcc-bugs
mailing list