[Bug c/13896] Initializer string warning not printed if implied NULL-terminator out of bounds
schwab at suse dot de
gcc-bugzilla@gcc.gnu.org
Wed Jan 28 17:35:00 GMT 2004
------- Additional Comments From schwab at suse dot de 2004-01-28 17:34 -------
There is actually no contradiction here. A string literal still contains the
terminating NUL, but the initializer syntax is a special case that just happens
to look like a string literal. Even K&R C already had that.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13896
More information about the Gcc-bugs
mailing list