This is the mail archive of the gcc-bugs@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]

[Bug c++/32614] New: -fmessage-length documentation and implementation disagree


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


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