This is the mail archive of the gcc-patches@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: C++ diagnostic PATCH: fix pr 8586


On Mon, 20 Nov 2006, Paolo Carlini wrote:

| Hi Gaby,
|
| >2006-11-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>
| >
| >	PR c++/8586
| >	* c-opts.c (c_common_handle_option): Enable -Wwrite-strings if -Wall.
| >
| >
| out of curiosity, I checked the documentation, and I'm not completely
| sure it's consistent with the new behavior of -Wall, in particular the
| last sentence of the below. Also, the -Wwrite-strings entry is grouped
| together the other options not implied by -Wall...
|
| What do you think?

It probably makes sense not to have it on default for C programs.
I'll update the documentation.  Thanks for pointing it out.

-- Gaby


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