Hi,

in this simple documentation PR, Tom noticed that we have a (very long standing) inconsistency between the default value of -fmessage-length for C++ as documented and as implemented: in fact it's 0 in cxx-pretty-print.c, like all the other front-ends. At the time of the PR people briefly envisage changing the default but the discussion didn't go anywhere, I think we can as well do the below, for the time being at least, remove the inconsistency.

Ok?

Thanks,
Paolo.

/////////////////////
2011-10-16  Paolo Carlini  <paolo.carl...@oracle.com>

        PR c++/32614
        * doc/invoke.texi ([Language Independent Options]): Change default
        value of -fmessage-length for C++ to match implementation.
Index: doc/invoke.texi
===================================================================
--- doc/invoke.texi     (revision 180048)
+++ doc/invoke.texi     (working copy)
@@ -2802,10 +2802,9 @@ the remaining front ends would be able to digest t
 @item -fmessage-length=@var{n}
 @opindex fmessage-length
 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@.  If @var{n} is zero, then no
-line-wrapping will be done; each error message will appear on a single
-line.
+characters.  The default is 0 for all the front ends supported by
+GCC@.  If @var{n} is zero, then no line-wrapping will be done; each
+error message will appear on a single line.
 
 @opindex fdiagnostics-show-location
 @item -fdiagnostics-show-location=once

Reply via email to