This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/54823] string literal characters not constant
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 Oct 2012 11:34:09 +0000
- Subject: [Bug c/54823] string literal characters not constant
- Auto-submitted: auto-generated
- References: <bug-54823-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54823
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-10-05 11:34:09 UTC ---
6.7.2.2 "The expression that defines the value of an enumeration constant shall
be an integer constant expression that has a value representable as an int."
See 6.6 for the valid forms of integer constant expressions.