delorie.com/archives/browse.cgi | search |
From: | Andy Bober <muajb2 AT uxa DOT ecn DOT bgu DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | How do you enable exceptions? |
Date: | Tue, 11 Mar 1997 20:40:05 -0600 |
Organization: | Educational Computing Network |
Lines: | 12 |
Message-ID: | <33261785.2BF0@uxa.ecn.bgu.edu> |
NNTP-Posting-Host: | modem13.wiu.edu |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Hi all, I can't get my C++ program with try-catch blocks in it to link correctly. I used the -fenable_exceptions and it compiles fine but it gets the linker error: "undefined referece to terminate(void)" Does anyone know how to get the linker to add the exception code; or am just missing something altogether? Andy
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |