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++/21701] New: No flag to turn off warning: warning: template-argument `<anonymous enum>' uses anonymous type


We are currently discussing this issue in the Core Working group of the ISO 
C++ committee. Currently there is not agreement that such an instantiation 
should be disallowed. In particular, the case of an overloaded operator that 
operates on enums is under consideration. In any case, there does not seem to 
be a mechanism to suppress this warning at the moment.

-- 
           Summary: No flag to turn off warning:   warning: template-
                    argument `<anonymous enum>' uses anonymous type
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mmarcus at emarcus dot org
                CC: gcc-bugs at gcc dot gnu dot org,gdr at integrable-
                    solutions dot net


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


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