This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13957] Insufficient diagnostic for dependent expression parsed as non-type but instantiated as type
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Feb 2004 15:51:06 -0000
- Subject: [Bug c++/13957] Insufficient diagnostic for dependent expression parsed as non-type but instantiated as type
- References: <20040201103616.13957.v.haisman@sh.cvut.cz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-02-02 15:51 -------
Fixed in 3.4.0. Now the error message for the testcase is (apart from the
instantiation context:
list.h:564: error: dependent-name `fcpp::impl::Cache<T>::CvtFxn' is parsed as a
non-type, but instantiation yields a type
list.h:564: note: say `typename fcpp::impl::Cache<T>::CvtFxn' if a type is meant
Hope this is more clear. Thank you for your report!
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13957