delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/29/18:45:10

From: Martin Ambuhl <mambuhl AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: General Protection Fault when using dynamic_cast<>()
Date: Tue, 29 Dec 1998 18:05:01 -0500
References: <3686d822 DOT 17161721 AT news DOT ntu DOT edu DOT tw>
X-Posted-Path-Was: not-for-mail
X-Accept-Language: en
X-ELN-Date: 29 Dec 1998 23:05:25 GMT
X-ELN-Insert-Date: Tue Dec 29 15:15:01 1998
Organization: Nocturnal Aviation
Lines: 21
Mime-Version: 1.0
NNTP-Posting-Host: 1cust248.tnt11.nyc3.da.uu.net
Message-ID: <3689601D.7D53C032@earthlink.net>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

OliverWu wrote:
> 
> Hi,
>         I'm having trouble running this program. A runtime error,
> General Protection Fault, occurs when I'm trying to run the ctor
> postfix_statement::postfix_statement(const infix_statement &)
> 
> /*--------------------------Program begins--------------------------*/
> 
> class element;
> class statement_operator: public element;
> class statement_operand: public element
> class statement;

At this point, you already have several fatal errors.  What is your real
program?


-- 
Martin Ambuhl (mambuhl AT earthlink DOT net)
Note: mambuhl AT tiac DOT net will soon be inactive

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019