This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21701] No flag to turn off warning: warning: template-argument `<anonymous enum>' uses anonymous type
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 May 2005 18:32:06 -0000
- Subject: [Bug c++/21701] No flag to turn off warning: warning: template-argument `<anonymous enum>' uses anonymous type
- References: <20050521175402.21701.mmarcus@emarcus.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2005-05-21 18:32 -------
Subject: Re: No flag to turn off warning: warning: template-argument `<anonymous enum>' uses anonymous type
"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-21 18:01 -------
|
|
| *** This bug has been marked as a duplicate of 21514 ***
|
| --
| What |Removed |Added
| ----------------------------------------------------------------------------
| Status|UNCONFIRMED |RESOLVED
| Resolution| |DUPLICATE
Andrew --
This is a separate bug. It is specifically asking for a flag to
turn off the diagnostic. This is a request for a practical solution,
while waiting for the committee to seal the details. I you write or
port C++ programs, you'll realize how impractical the current
implementation/rule is. The enums could come fromo system headers and
such. That is entiry different from the one you
think this is a duplciate of. Please repoen the PR and mark it as
feature request.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21701