From: Mike McLean 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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.