www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/09/19:01:41

From: Mike McLean <libolt AT primenet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: undefined reference to terminate(void);
Date: 9 Feb 1998 15:47:01 -0700
Organization: Primenet Services for the Internet
Lines: 9
Message-ID: <34DF8862.2B01CF5B@primenet.com>
MIME-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

What does undefined reference to terminate(void); mean?  I just
rearranged my header files.  I have one main header file that includes
all the other headers files.  I include this header file into each file
of my game.  Before I broke up the functions and classes (as I use C++)
everything would compile and run just fine.  But now it gives this error
message.  I added #ifndef _HEADERNAME_H_ and #define to all the header
files.  I am using pgcc 1.01 if this helps.

Mike.

- Raw text -


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