On Thu, Oct 25, 2012 at 9:10 PM, Maarten Brock <email@example.com> wrote:
>>> You can use -Wwrite-strings command line option to turn "warning:I don't get it. Will using -Wwrite-strings enable or disable the warning?
>>> initialization discards ‘const’ qualifier from pointer target type
>>> [enabled by default]" warnings on or use -fno-const-strings to put
>>> strings in normal (no ro) section.
>> And which of these options are used in our host regression tests?
>> Because I don't see the warning.
And is it enabled by default or not?
And if so, what is then enabled? The
option or the warning? Because how I read the above statement is that the
option is enabled by default and it should be generating the warning.