This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/34586] consts cannot be used to initialize static declarations as per be below code snippet
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Dec 2007 09:27:49 -0000
- Subject: [Bug c/34586] consts cannot be used to initialize static declarations as per be below code snippet
- References: <bug-34586-15547@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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