This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25751] Poor error when templating on undefined types
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Feb 2006 19:47:04 -0000
- Subject: [Bug c++/25751] Poor error when templating on undefined types
- References: <bug-25751-9525@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-02-02 19:47 -------
Confirmed.
What should happen here is that when foo is not declared in this context, we
should try to figure out if it was going to be used as a type or a variable.
Right now we assume it is used as a variable.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-02-02 19:47:04
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25751