This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18976] [3.4 Regression] can't pass anonymous enum to function template
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2004 12:35:41 -0000
- Subject: [Bug c++/18976] [3.4 Regression] can't pass anonymous enum to function template
- References: <20041214091611.18976.joerg.richter@pdv-fs.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-12-14 12:35 -------
An anonymous enum is an unnamed type with internal linkage, and thus cannot be
used as template argument, as specified by the standard. The error message
could use some refinement of couse, but we already have a PR opened for that.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18976