public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/2019: Wrong line number in warning
@ 2002-11-20 18:02 Wolfgang Bangerth
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Bangerth @ 2002-11-20 18:02 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/2019; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c++/2019: Wrong line number in warning
Date: Thu, 14 Nov 2002 09:07:22 -0600 (CST)
Whoever tracks this one please also look at c++/8570, I think it is
related.
Wolfgang
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth
^ permalink raw reply [flat|nested] 3+ messages in thread
* c++/2019: Wrong line number in warning
@ 2002-11-20 18:56 Wolfgang Bangerth
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Bangerth @ 2002-11-20 18:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/2019; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@apex68.ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c++/2019: Wrong line number in warning
Date: Thu, 14 Nov 2002 14:35:28 -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] 3+ messages in thread
* c++/2019: Wrong line number in warning
@ 2001-04-01 0:00 carlo
0 siblings, 0 replies; 3+ messages in thread
From: carlo @ 2001-04-01 0:00 UTC (permalink / raw)
To: gcc-gnats
>Number: 2019
>Category: c++
>Synopsis: Wrong line number in warning
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 18 16:06:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: carlo@alinoe.com
>Release: gcc version 2.97 20010207 (experimental)
>Organization:
>Environment:
irrelevant
>Description:
The following code snippet:
namespace N {
void foo(void);
}
void foo(int);
namespace N {
class A {
public:
enum e { x };
friend void N::foo(void);
//friend void foo(e);
friend void foo(void); // line 13
};
}
int main(void)
{
return 0;
}
Produces:
20010218.cc:13: warning: `void N::foo()' is already a friend of class `N::A'
20010218.cc:13: warning: previous friend declaration of `void N::foo()'
The latter should be line 11, not 13.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-11-14 20:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-20 18:02 c++/2019: Wrong line number in warning Wolfgang Bangerth
-- strict thread matches above, loose matches on Subject: below --
2002-11-20 18:56 Wolfgang Bangerth
2001-04-01 0:00 carlo
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).