summaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-13 01:57:29 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-13 01:57:29 +0000
commit9b9f6bbe9c4bbf15a63244080f7311e108a32868 (patch)
tree8a1baaccc52b3442ac068e838ba8d0c2c1936352 /gcc/ChangeLog
parent85afca2d2a2079910420c66eb86d43d9628f3c39 (diff)
downloadgcc-9b9f6bbe9c4bbf15a63244080f7311e108a32868.tar.gz
2006-02-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
* doc/invoke.texi (-Write-strings): Document that it is enabled by default. * c.opt (-Wwrite-strings): Declare variable warn_write_strings. Clarify documentation. * c-common.h (warn_write_strings): Remove. * c-common.c (warn_write_strings): Likewise. * c-opts.c (c_common_init_options): Enable -Wwrite-strings by default for C++. testsuite/ 2006-02-12 Gabriel Dos Reis <gdr@integrable-solutions.net> * g++.dg/warn/no-write-strings.C: New test. * g++.dg/warn/write-strings.C: Likewise. * g++.dg/warn/write-strings-default.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110907 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 18ea30d7b34..e5fa4c25b6d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,14 @@
+2006-02-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
+
+ * doc/invoke.texi (-Write-strings): Document that it is enabled by
+ default.
+ * c.opt (-Wwrite-strings): Declare variable warn_write_strings.
+ Clarify documentation.
+ * c-common.h (warn_write_strings): Remove.
+ * c-common.c (warn_write_strings): Likewise.
+ * c-opts.c (c_common_init_options): Enable -Wwrite-strings by
+ default for C++.
+
2006-02-12 Roger Sayle <roger@eyesopen.com>
PR middle-end/25724