public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Craig Rodrigues <rodrigc@mediaone.net> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/712: bad formatting of warning message Date: Mon, 20 Aug 2001 11:46:00 -0000 [thread overview] Message-ID: <20010820184601.15193.qmail@sourceware.cygnus.com> (raw) The following reply was made to PR c++/712; it has been noted by GNATS. From: Craig Rodrigues <rodrigc@mediaone.net> To: gcc-gnats@gcc.gnu.org Cc: Subject: Re: c++/712: bad formatting of warning message Date: Mon, 20 Aug 2001 14:45:25 -0400 ----- Forwarded message from Tom Tromey <tromey@redhat.com> ----- Delivered-To: rodrigc@gcc.gnu.org To: rodrigc@gcc.gnu.org Cc: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org Subject: Re: c++/712: bad formatting of warning message X-Zippy: Oh my GOD -- the SUN just fell into YANKEE STADIUM!! X-Attribution: Tom Reply-To: tromey@redhat.com From: Tom Tromey <tromey@redhat.com> Date: 20 Aug 2001 12:42:42 -0600 In-Reply-To: rodrigc@gcc.gnu.org's message of "28 Jul 2001 22:12:19 -0000" X-Mailer: Gnus v5.7/Emacs 20.5 >>>>> ">" == rodrigc <rodrigc@gcc.gnu.org> writes: >> Synopsis: bad formatting of warning message >> State-Changed-From-To: feedback->closed >> State-Changed-By: rodrigc >> State-Changed-When: Sat Jul 28 15:12:19 2001 >> State-Changed-Why: >> Feedback not provided Sorry about that. I've constructed a failure case. Could you please reopen this PR? Here is how to do it: mkdir /tmp/asdfasdfasdfasfasdfafadsfasdfz cat > /tmp/asdfasdfasdfasfasdfafadsfasdfz/foo.cc << 'END' class z { public: int code_length; int x (int code_length) { return code_length * 5; } }; END g++ -Wall -Wshadow --syntax-only /tmp/asdfasdfasdfasfasdfafadsfasdfz/foo.cc I get this: creche. g++ -Wall -Wshadow --syntax-only /tmp/asdfasdfasdfasfasdfafadsfasdfz/foo.cc /tmp/asdfasdfasdfasfasdfafadsfasdfz/foo.cc: In member function `int z::x(int)': /tmp/asdfasdfasdfasfasdfafadsfasdfz/foo.cc:7: warning: declaration of ` code_length' shadows a member of `this' Note how the line break occurs after the "`". I think that is wrong. Tom ----- End forwarded message -----
next reply other threads:[~2001-08-20 11:46 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-08-20 11:46 Craig Rodrigues [this message] -- strict thread matches above, loose matches on Subject: below -- 2003-01-01 19:46 Gabriel Dos Reis 2003-01-01 15:53 neil 2002-11-20 19:06 Wolfgang Bangerth 2001-08-20 11:45 rodrigc 2001-07-28 15:12 rodrigc 2001-06-12 20:17 rodrigc
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=20010820184601.15193.qmail@sourceware.cygnus.com \ --to=rodrigc@mediaone.net \ --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: linkBe 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).