[Bug c/34586] consts cannot be used to initialize static declarations as per be below code snippet

schwab at suse dot de gcc-bugzilla@gcc.gnu.org
Tue Dec 25 09:28:00 GMT 2007



------- Comment #1 from schwab at suse dot de  2007-12-25 09:27 -------
A variable is not a constant expression, even if it is const qualified.


-- 

schwab at suse dot de changed:

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


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



More information about the Gcc-bugs mailing list