[Bug c++/21089] c++ accepts invalid static const double members with initializer

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Apr 18 17:32:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-18 17:32 -------
Yes this is invalid C++ (and is rejected by -pedantic) but we somehow declared this as an extension see 
PR 11393 which is still open and other threads within a past year.

*** This bug has been marked as a duplicate of 11393 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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



More information about the Gcc-bugs mailing list