Article View: gnu.g++.bug
Article #1271Internal compiler error 123
From: tlukka
Date: Tue, 15 Dec 1992 23:04
Date: Tue, 15 Dec 1992 23:04
29 lines
895 bytes
895 bytes
I got an internal compiler error 123 with the following code...
probably has to do with the O::a typedef there.
TJL
--- snip ---
class O
{
public:
O();
~O();
private:
class List
{
private:
O *obj;
List *next;
public:
List() {next=NULL; obj=NULL;}
~List() {if(next) delete next;}
typedef void O::a();
void foreach(a *b) {if(obj) {b(obj); tail->foreach(b);}};
};
List l;
};
O::O()
{
}
Technical Details
Message-ID:
<199212152104.AA25861@lk-hp-17.hut.fi>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!uwm.edu!spool.mu.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!vinkku.hut.fi!tlukkaShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!uwm.edu!spool.mu.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!vinkku.hut.fi!tlukka From: tlukka@vinkku.hut.fi Subject: Internal compiler error 123 Message-ID: <199212152104.AA25861@lk-hp-17.hut.fi> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Tue, 15 Dec 1992 23:04:34 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 30