This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21701] New: No flag to turn off warning: warning: template-argument `<anonymous enum>' uses anonymous type
- From: "mmarcus at emarcus dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 May 2005 17:54:03 -0000
- Subject: [Bug c++/21701] New: No flag to turn off warning: warning: template-argument `<anonymous enum>' uses anonymous type
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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