public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/3621: Wrong line number in c++ error message.
@ 2001-07-09 7:16 johanb
0 siblings, 0 replies; 4+ messages in thread
From: johanb @ 2001-07-09 7:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 3621
>Category: c++
>Synopsis: Wrong line number in c++ error message.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 09 07:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Johan Bengtsson
>Release: 3.0
>Organization:
>Environment:
System: Linux Toker 2.4.5-xfs #3 Wed Jul 4 11:52:41 CEST 2001 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../configure --enable-shared --enable-threads --enable-languages=c++ --program-prefix=n : (reconfigured) ../configure --enable-shared --enable-threads --enable-languages=c++
>Description:
The missing namespace specifier for b on line 9 in the attached program
is reported as being on line 0.
Toker:~/tmp > c++ bug.cc
bug.cc:0: `b' was not declared in this scope
>How-To-Repeat:
Compile the attached program:
--8<--
# 1 "bug.cc"
namespace tmp {
typedef int B;
B b;
}
class A {
public:
int kaka(tmp::B = b);
};
--8<--
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/3621: Wrong line number in c++ error message.
@ 2001-07-26 1:21 nathan
0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2001-07-26 1:21 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, johanb, nathan
Synopsis: Wrong line number in c++ error message.
State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Thu Jul 26 01:21:20 2001
State-Changed-Why:
Fixed for the 3.0.1 release
2001-07-26 Nathan Sidwell <nathan@codesourcery.com>
PR c++/3621
* spew.c (yylex): Only copy the token's lineno, if it is
non-zero.
2001-07-26 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/lineno5.C: New test.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3621&database=gcc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/3621: Wrong line number in c++ error message.
@ 2001-07-25 6:02 nathan
0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2001-07-25 6:02 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, johanb, nathan, nobody
Synopsis: Wrong line number in c++ error message.
Responsible-Changed-From-To: unassigned->nathan
Responsible-Changed-By: nathan
Responsible-Changed-When: Wed Jul 25 06:02:36 2001
Responsible-Changed-Why:
patch in progress
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3621&database=gcc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/3621: Wrong line number in c++ error message.
@ 2001-07-09 13:55 nathan
0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2001-07-09 13:55 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, johanb, nobody
Synopsis: Wrong line number in c++ error message.
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Mon Jul 9 13:55:51 2001
State-Changed-Why:
confirmed as a 2.95 regression
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3621&database=gcc
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-07-26 1:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-09 7:16 c++/3621: Wrong line number in c++ error message johanb
2001-07-09 13:55 nathan
2001-07-25 6:02 nathan
2001-07-26 1:21 nathan
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).