This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/54823] string literal characters not constant


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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-10-05 11:29:49 UTC ---
*" " is not a constant expression according to the C standard.

The standard says "An implementation may accept other forms of constant
expressions" so ICC is allowed to accept it, but GCC is not required to.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]