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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux