public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/712: bad formatting of warning message
@ 2001-08-20 11:46 Craig Rodrigues
0 siblings, 0 replies; 7+ messages in thread
From: Craig Rodrigues @ 2001-08-20 11:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
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 -----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: c++/712: bad formatting of warning message
@ 2003-01-01 19:46 Gabriel Dos Reis
0 siblings, 0 replies; 7+ messages in thread
From: Gabriel Dos Reis @ 2003-01-01 19:46 UTC (permalink / raw)
To: gdr; +Cc: gcc-prs
The following reply was made to PR c++/712; it has been noted by GNATS.
From: Gabriel Dos Reis <gdr@integrable-solutions.net>
To: neil@gcc.gnu.org
Cc: gcc-bugs@gcc.gnu.org, rodrigc@gcc.gnu.org, tromey@redhat.com,
gcc-gnats@gcc.gnu.org
Subject: Re: c++/712: bad formatting of warning message
Date: 01 Jan 2003 20:35:21 +0100
neil@gcc.gnu.org writes:
| Synopsis: bad formatting of warning message
|
| Responsible-Changed-From-To: unassigned->gdr
| Responsible-Changed-By: neil
| Responsible-Changed-When: Wed Jan 1 07:53:33 2003
| Responsible-Changed-Why:
| Gaby - maybe you're interested in this?
Absolutely! Thank you Neil.
| A diagnostic line is split between quotes if it happens to appear in the wrong place.
That is a helpful synopsis.
-- Gaby
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: c++/712: bad formatting of warning message
@ 2003-01-01 15:53 neil
0 siblings, 0 replies; 7+ messages in thread
From: neil @ 2003-01-01 15:53 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, gdr, nobody, rodrigc, tromey
Synopsis: bad formatting of warning message
Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: neil
Responsible-Changed-When: Wed Jan 1 07:53:33 2003
Responsible-Changed-Why:
Gaby - maybe you're interested in this?
A diagnostic line is split between quotes if it happens to appear in the wrong place.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=712
^ permalink raw reply [flat|nested] 7+ messages in thread
* c++/712: bad formatting of warning message
@ 2002-11-20 19:06 Wolfgang Bangerth
0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Bangerth @ 2002-11-20 19:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/712; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@apex68.ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c++/712: bad formatting of warning message
Date: Thu, 14 Nov 2002 14:34:48 -0600
Re-confirmed with 3.3 CVS from 2002-11-10 and 3.2.1 pre from the same date.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: c++/712: bad formatting of warning message
@ 2001-08-20 11:45 rodrigc
0 siblings, 0 replies; 7+ messages in thread
From: rodrigc @ 2001-08-20 11:45 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, rodrigc, tromey
Synopsis: bad formatting of warning message
State-Changed-From-To: closed->open
State-Changed-By: rodrigc
State-Changed-When: Mon Aug 20 11:45:23 2001
State-Changed-Why:
New test case submitted
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=712&database=gcc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: c++/712: bad formatting of warning message
@ 2001-07-28 15:12 rodrigc
0 siblings, 0 replies; 7+ messages in thread
From: rodrigc @ 2001-07-28 15:12 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, rodrigc, tromey
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
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=712&database=gcc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: c++/712: bad formatting of warning message
@ 2001-06-12 20:17 rodrigc
0 siblings, 0 replies; 7+ messages in thread
From: rodrigc @ 2001-06-12 20:17 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, rodrigc, tromey
Synopsis: bad formatting of warning message
State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Tue Jun 12 20:17:06 2001
State-Changed-Why:
Do you have preprocessed source which can reproduce this
problem?
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=712&database=gcc
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-01-01 19:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-20 11:46 c++/712: bad formatting of warning message Craig Rodrigues
-- 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
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).