public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org
Subject: Re: bootstrap/3653: -fmessage-length=72 with g++ makes no sense
Date: Fri, 13 Jul 2001 13:46:00 -0000	[thread overview]
Message-ID: <20010713204605.8372.qmail@sourceware.cygnus.com> (raw)

The following reply was made to PR bootstrap/3653; it has been noted by GNATS.

From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
To: Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: bootstrap/3653: -fmessage-length=72 with g++ makes no sense
Date: 13 Jul 2001 22:39:24 +0200

 Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr> writes:
 
 > | Besides the misinterpretation by tools, the wrapped output is more
 > | difficulty to read by humans also:
 > | 
 > | - the human brain can surveying grouped data faster than ungrouped
 > |   one. The current wrapping destroys grouping.
 > 
 > Actually, it is the unreadability of the previous formatting which
 > prompted the implementation of the functionality in discussion.
 
 What is more readable:
 
 g++3     test.cc   -o test
 test.cc: In function `int main()':
 test.cc:15: no matching function for call to `foo<std::string, 
    foo<std::basic_iostream<std::string, std::char_traits<std::string> >, 
    std::basic_iostream<std::string, std::char_traits<std::string> >, 
    std::basic_iostream<std::string, std::char_traits<std::string> > >, 
    foo<std::basic_iostream<std::string, std::char_traits<std::string> >, 
    std::basic_iostream<std::string, std::char_traits<std::string> >, 
    std::basic_iostream<std::string, std::char_traits<std::string> > > 
    >::bar(const char[3])'
 test.cc:8: candidates are: void foo<XXX, YYY, ZZZ>::bar() [with XXX = 
    std::string, YYY = foo<std::basic_iostream<std::string, 
    std::char_traits<std::string> >, std::basic_iostream<std::string, 
    std::char_traits<std::string> >, std::basic_iostream<std::string, 
    std::char_traits<std::string> > >, ZZZ = 
    foo<std::basic_iostream<std::string, std::char_traits<std::string> >, 
    std::basic_iostream<std::string, std::char_traits<std::string> >, 
    std::basic_iostream<std::string, std::char_traits<std::string> > >]
 test.cc:9:                 void foo<XXX, YYY, ZZZ>::bar(int) [with XXX = 
    std::string, YYY = foo<std::basic_iostream<std::string, 
    std::char_traits<std::string> >, std::basic_iostream<std::string, 
    std::char_traits<std::string> >, std::basic_iostream<std::string, 
    std::char_traits<std::string> > >, ZZZ = 
    foo<std::basic_iostream<std::string, std::char_traits<std::string> >, 
    std::basic_iostream<std::string, std::char_traits<std::string> >, 
    std::basic_iostream<std::string, std::char_traits<std::string> > >]
 
 
 or
 
 
 g++3 -fmessage-length=0     test.cc   -o test
 test.cc: In function `int main()':
 test.cc:15: no matching function for call to `foo<std::string, [-->
 test.cc:8: candidates are: void foo<XXX, YYY, ZZZ>::bar() [with[-->
 test.cc:9:                 void foo<XXX, YYY, ZZZ>::bar(int) [w[-->
 
 ([--> means horizontal scrolling in XEmacs; on my screen some columns
 later (at #175)).
 
 
 > | I suggest a value of `0'. ;) ... at least if it is not a tty...
 > 
 > That is the users's responsability.
 
 Why not make it a user responsability to adjust the value if he want
 line-wrapping?
 
 > | [... -fmessage-length=0 option ...]
 > | Older gcc do not know this option and will fail to compile.
 > 
 > There are bunch of options there which are recognized by older GCC.
 
 Either these options have not changed behavior or there was a technical
 reason to change it.
 
 
 
 
 Enrico


             reply	other threads:[~2001-07-13 13:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-13 13:46 Enrico Scholz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-07-16 17:06 Enrico Scholz
2001-07-13 20:36 Gabriel Dos Reis
2001-07-13 17:36 Enrico Scholz
2001-07-13 13:56 Enrico Scholz
2001-07-13 13:36 Phil Edwards
2001-07-13 13:26 Enrico Scholz
2001-07-12 12:56 Phil Edwards
2001-07-12  5:06 Gabriel Dos Reis
2001-07-12  4:06 Enrico Scholz
2001-07-12  1:46 Gabriel Dos Reis
2001-07-11 14:56 enrico.scholz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010713204605.8372.qmail@sourceware.cygnus.com \
    --to=enrico.scholz@informatik.tu-chemnitz.de \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).