[Bug c++/13795] ternary operator fails to compile with static const class members

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 21 19:20:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list