From: "Martin Ambuhl" Newsgroups: comp.os.msdos.djgpp Subject: Re: Exceptions Date: Wed, 20 May 1998 02:16:43 -0400 Organization: Who wants to know? Lines: 46 Message-ID: <6jts78$so2@news-central.tiac.net> References: <19980519172419 DOT A816 AT vulcain DOT yyydom> NNTP-Posting-Host: p14.tc4.newyo.ny.tiac.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk erikyyy AT studbox DOT uni-stuttgart DOT de wrote in message <19980519172419 DOT A816 AT vulcain DOT yyydom>... : :Although djgpp compiles the following source without warnings, it :still doesn't work: : :#include :#include : :class rrrr {}; : :int main() :{ : try { : throw rrrr(); : } : catch (rrrr) { : cerr << "excpt\n"; : }; : cerr << "normal\n"; : return 0; :}; : :on linux, this program writes "excpt\nnormal\n" on stderr. :on djgpp it doesn't. (it just does "Abort!") ========== djgpp based on gcc 2.8.1 prints "excpt\nnormal\n". Perhaps you need to upgrade. ========== : :what have i done wrong ? : :byebye :Erik : :-- :EMAIL: erikyyy AT studbox DOT uni-stuttgart DOT de \\\\ : thieleek AT tick DOT informatik DOT uni-stuttgart DOT de o `QQ'_ :IRC: erikyyy / __8 :WWW: http://wwwcip.rus.uni-stuttgart.de/~inf24628/ ' ` : http://tick.informatik.uni-stuttgart.de/~thieleek/