aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@codesourcery.com>2000-02-16 01:38:11 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2000-02-16 01:38:11 +0000
commit7e05b7aec4115221819f5e4ee2bc965f3de51d11 (patch)
tree273fc3f2bb8c5f342c76dfeabf5ef58d4829f03e /gcc
parent22d05f60307d8a5dc4313869d2e3783913c062d2 (diff)
downloadgcc-7e05b7aec4115221819f5e4ee2bc965f3de51d11.zip
gcc-7e05b7aec4115221819f5e4ee2bc965f3de51d11.tar.gz
gcc-7e05b7aec4115221819f5e4ee2bc965f3de51d11.tar.bz2
decl2.c (lang_decode_option): Enable automatic line wrapping.
2000-01-16 Gabriel Dos Reis <gdr@codesourcery.com> * decl2.c (lang_decode_option): Enable automatic line wrapping. From-SVN: r31999
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl2.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index c382a9d..927ea7d 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2000-01-16 Gabriel Dos Reis <gdr@codesourcery.com>
+
+ * decl2.c (lang_decode_option): Enable automatic line wrapping.
+
2000-02-13 Jason Merrill <jason@casey.cygnus.com>
* parse.y (frob_specs): Split out...
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index 50a5d31..6776715 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -570,6 +570,9 @@ lang_decode_option (argc, argv)
strings_processed = 0;
#endif /* ! USE_CPPLIB */
+ /* Enable automatic line wrapping by default */
+ set_message_length (72);
+
if (!strcmp (p, "-ftraditional") || !strcmp (p, "-traditional"))
/* ignore */;
else if (p[0] == '-' && p[1] == 'f')