public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5990: inheriting class constructors cannot use methods from parent classes outside of their class definitions.
@ 2002-03-17 12:45 rodrigc
0 siblings, 0 replies; 4+ messages in thread
From: rodrigc @ 2002-03-17 12:45 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, kidmosey, nobody
Synopsis: inheriting class constructors cannot use methods from parent classes outside of their class definitions.
State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Sun Mar 17 12:45:01 2002
State-Changed-Why:
gcc 3.0.4 on my system compiled your testcase without
an ICE.
What flags are you using to compile the code?
Also, on my system, I use g++ and not gxx to compile.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5990
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/5990: inheriting class constructors cannot use methods from parent classes outside of their class definitions.
@ 2002-03-17 15:56 Craig H. Miller
0 siblings, 0 replies; 4+ messages in thread
From: Craig H. Miller @ 2002-03-17 15:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/5990; it has been noted by GNATS.
From: "Craig H. Miller" <kidmosey@musitu.org>
To: rodrigc@gcc.gnu.org
Cc:
Subject: Re: c++/5990: inheriting class constructors cannot use methods from parent classes outside of their class definitions.
Date: Sun, 17 Mar 2002 17:41:06 -0600
Okay, using g++ instead of gxx worked - I feel stupid now... but what
is the difference between gxx and g++?
---
I'm not really crazy, but I play one on t.v.
http://www.musitu.org/
---
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/5990: inheriting class constructors cannot use methods from parent classes outside of their class definitions.
@ 2002-03-17 15:48 rodrigc
0 siblings, 0 replies; 4+ messages in thread
From: rodrigc @ 2002-03-17 15:48 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, kidmosey, nobody
Synopsis: inheriting class constructors cannot use methods from parent classes outside of their class definitions.
State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Mar 17 15:48:29 2002
State-Changed-Why:
Solved by using g++ instead of gxx to compile C++ programs.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5990
^ permalink raw reply [flat|nested] 4+ messages in thread
* c++/5990: inheriting class constructors cannot use methods from parent classes outside of their class definitions.
@ 2002-03-17 9:26 kidmosey
0 siblings, 0 replies; 4+ messages in thread
From: kidmosey @ 2002-03-17 9:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 5990
>Category: c++
>Synopsis: inheriting class constructors cannot use methods from parent classes outside of their class definitions.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Sun Mar 17 09:26:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: kidmosey@musitu.org
>Release: 3.0.4
>Organization:
>Environment:
>Description:
The following C++ code causes an ICE with gcc versions above 2.95:
class A
{
public:
A (void) { }
~A (void) { }
void DoSomething (void) { }
};
class B: public A
{
public:
B (void);
~B (void) { }
};
B::B (void)
{
DoSomething();
}
>How-To-Repeat:
compile to an object file: gxx -c test.cpp
>Fix:
remove the destructor from class A - quite undesirable.
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-03-17 23:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-17 12:45 c++/5990: inheriting class constructors cannot use methods from parent classes outside of their class definitions rodrigc
-- strict thread matches above, loose matches on Subject: below --
2002-03-17 15:56 Craig H. Miller
2002-03-17 15:48 rodrigc
2002-03-17 9:26 kidmosey
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).