[Bug c++/12581] [3.4 Regression] gcc rejects typeof use for the return type
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Nov 12 03:14:00 GMT 2003
------- Additional Comments From mmitchel at gcc dot gnu dot org 2003-11-12 03:14 -------
This is not a bug.
It does not compile with GCC (as opposed to G++) and the manual says:
"A `typeof'-construct can be used anywhere a typedef name could be
used."
If that were standardese, it would say that a typeof construct is a
simple-type-specifier, which is what is implemented in the C++ front end.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12581
More information about the Gcc-bugs
mailing list