This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13795] ternary operator fails to compile with static const class members
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2004 19:20:33 -0000
- Subject: [Bug c++/13795] ternary operator fails to compile with static const class members
- References: <20040121190611.13795.perry@kundert.ca>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-21 19:20 -------
it is not a GCC bug.
the code is complaint as long as you declare it also (can be in a different translation unit aka
source file) See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13259> and <http://
gcc.gnu.org/bugzilla/show_bug.cgi?id=13332>. There are other non-bugs in GCC bugzilla for
this
*** This bug has been marked as a duplicate of 13332 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13795