https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107178
--- Comment #5 from Jonathan Wakely ---
(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 f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107178
--- Comment #4 from Jonathan Wakely ---
(In reply to Jonathan Wakely from comment #3)
> (In reply to Andrew Pinski from comment #1)
> > At least GCC points out the colon and even suggest you started a bitfield
> > which is what a colon normally
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107178
Jonathan Wakely changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107178
--- Comment #2 from Jeremy R. ---
The easy solution is to mention both the bitfield and "hey maybe you meant to
use a ;"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107178
Andrew Pinski changed:
What|Removed |Added
Keywords||diagnostic
Severity|normal