This is the mail archive of the gcc-help@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]

RE: gcc 4.1.1: char *p = "str" puts "str" into rodata


Hi Denis,

Did you specify the -Wwrite-strings flag?

If you didn't enable the warning, the warning was disabled by default.

Its disabled by default because older header files can generate a lot of nuisance warnings.

HTH,
--Eljay


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