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++/18976] [3.4 Regression] can't pass anonymous enum to function template


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


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