public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/4476: g++ does not parse the definition of friend function within a class properly
@ 2001-10-05  3:06 martin
  0 siblings, 0 replies; 3+ messages in thread
From: martin @ 2001-10-05  3:06 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4476
>Category:       c++
>Synopsis:       g++ does not parse the definition of friend function within a class properly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 05 03:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Martin Reinecke
>Release:        3.1 20011005 (experimental)
>Organization:
Max-Planck-Institute for Astrophysics (Germany)
>Environment:
System: Linux lnxnce-12 2.2.19 #1 Fri Sep 14 12:24:58 CEST 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /scratch/gcc/configure --prefix=/afs/mpa/data/martin/ugcc --enable-languages=c++ --enable-namespaces
>Description:
	A definition of a friend function within a class body is wrongly
        interpreted as an abstract virtual function.
>How-To-Repeat:
	Compile the following:
class foo {
  friend void bar () {}
  foo baz () {}
};

>Fix:
     not known

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c++/4476: g++ does not parse the definition of friend function within a class properly
@ 2001-10-12  2:07 nathan
  0 siblings, 0 replies; 3+ messages in thread
From: nathan @ 2001-10-12  2:07 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, martin, nathan

Synopsis: g++ does not parse the definition of friend function within a class properly

State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Fri Oct 12 02:07:28 2001
State-Changed-Why:
    2001-10-12  Nathan Sidwell  <nathan@codesourcery.com>
    
    	PR g++/4476
    	* typeck2.c (abstract_virtuals_error): Ignore incomplete classes.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4476&database=gcc


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c++/4476: g++ does not parse the definition of friend function within a class properly
@ 2001-10-09  4:35 nathan
  0 siblings, 0 replies; 3+ messages in thread
From: nathan @ 2001-10-09  4:35 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, martin, nathan, nobody

Synopsis: g++ does not parse the definition of friend function within a class properly

Responsible-Changed-From-To: unassigned->nathan
Responsible-Changed-By: nathan
Responsible-Changed-When: Tue Oct  9 04:35:10 2001
Responsible-Changed-Why:
    I broke it
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Tue Oct  9 04:35:10 2001
State-Changed-Why:
    confirmed

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4476&database=gcc


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-10-12  2:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-05  3:06 c++/4476: g++ does not parse the definition of friend function within a class properly martin
2001-10-09  4:35 nathan
2001-10-12  2:07 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).