This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32614] New: -fmessage-length documentation and implementation disagree
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jul 2007 18:05:55 -0000
- Subject: [Bug c++/32614] New: -fmessage-length documentation and implementation disagree
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
doc/invoke.texi says:
Try to format error messages so that they fit on lines of about @var{n}
characters. The default is 72 characters for @command{g++} and 0 for the rest
of
the front ends supported by GCC@.
However, cp/cxx-pretty-print.c seems to set the default to 0:
pp_set_line_maximum_length (pp, 0);
See this thread:
http://gcc.gnu.org/ml/gcc-patches/2007-03/msg01948.html
There is some disagreement as to whether this is a documentation bug
or a code bug.
--
Summary: -fmessage-length documentation and implementation
disagree
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tromey at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32614