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++/20589] error: '<anonymous enum>' is/uses anonymous type'


------- Additional Comments From bangerth at dealii dot org  2005-03-23 19:24 -------
That has been subject to discussion (i.e. whether the attempt to use an 
unnamed enum as a template argument should just silently fail as a  
substitution failure). However, it has been decided that this is a hard 
error, not only a substitution failure. 
 
I am presently not quite sure about the reasoning, and I believe that there 
was a DR or something still pending. Mark, do you remember the details? I 
think this came up in a different PR before... 
 
W. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20589


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