This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/12581] [3.4 Regression] gcc rejects typeof use for the return type


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]