Article View: gnu.gcc.bug
Article #6056Bug in gcc 2.7.2.1: exceptions
From: anphong
Date: Thu, 12 Dec 1996 00:00
Date: Thu, 12 Dec 1996 00:00
31 lines
885 bytes
885 bytes
Hi!
The following program:
#include <iostream.h>
int
main()
{
try
{
throw 5;
cerr << "after throw" << endl;
}
catch ( ... )
{
cerr << "caught something" << endl;
}
return 0;
}
Generates this output:
after throw
I compiled it with "g++ -fhandle-exceptions test.cc", on HP/UX 9.04.
Any ideas why I have these problems??
Anphong
Technical Details
Message-ID:
<trpw0gxyzq.fsf@awas_dev.telecom.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,1c9350007971af9a,start X-Google-Attributes: gid113d02,public From: anphong@awas_dev.telstra.com.au Subject: Bug in gcc 2.7.2.1: exceptions Date: 1996/12/12 Message-ID: <trpw0gxyzq.fsf@awas_dev.telecom.com.au> X-Deja-AN: 203635091 sender: bug-gcc-request@prep.ai.mit.edu organization: Telstra x-gateway: relay6.UU.NET from bug-gcc to gnu.gcc.bug; Thu, 12 Dec 1996 00:05:29 EST newsgroups: gnu.gcc.bug