[Bug c++/77565] `typdef int Int;` --> did you mean `typeof`?
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Aug 9 21:36:36 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77565
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2016-09-12 00:00:00 |2021-8-9
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> We don't give any suggestion any more:
Never mind, I had use -std=c++98 with -std=gnu++98, get:
<source>:1:1: error: 'typdef' does not name a type; did you mean 'typeof'?
1 | typdef int Int;
| ^~~~~~
| typeof
More information about the Gcc-bugs
mailing list