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/13896] Initializer string warning not printed if implied NULL-terminator out of bounds


------- Additional Comments From schwab at suse dot de  2004-01-28 15:26 -------
I don't think there should be a warning by default, because it is a rather 
common idiom.  "initializer-string for array of chars is too long" would be 
wrong at least. 

-- 


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


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