From: roumen AT siframe DOT de (Roumen Al. Dimitrov) Subject: How do the exceptions work? 21 Jul 1998 10:24:37 -0700 Message-ID: <9807210852.AA17221.cygnus.gnu-win32@lima.siframe.de> Reply-To: "Roumen Al. Dimitrov" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gnu-win32 AT cygnus DOT com Hallo, I have written a small program as follows: #include class e { public: e (int i=0) {x=i;}; ~e () {}; int x; }; void proc () throw (e) { throw e (3); } void main () { cout << "\n"; cout.flush (); try { proc (); } catch (e x) { cerr << "exception occured: " << x.x << '\n'; cerr.flush (); } cout << "\nOK\n"; } and here is the output: Aborted Can you say me, how can I obtain something like: exception occured: 3 OK which is much more correct? Under Unix and the older Cygnus GNU C 2.7.2.2 is everything OK (well, not enough OK - it happens one Internal Compiler Error because of the last line) SIFRAME Software Technologies GmbH Roumen Al. Dimitrov Rottmannstrasse 7a 80333 Muenchen Germany mailto:roumen AT siframe DOT de Telefon +49 89 523 70-77 Telefax +49 89 523 70-73 Info: http://www.siframe.de - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".