This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
using g++ with exceptions
- To: gnu-win32 <gnu-win32 at cygnus dot com>
- Subject: using g++ with exceptions
- From: Jaroslav Gergic <Jaroslav dot Gergic at st dot ms dot mff dot cuni dot cz>
- Date: Thu, 22 Jan 1998 19:16:17 +0100
- Organization: MFF UK
I tried to compile some little program developed using BCC
and I have problems with new operator and its exception.
So I have two questions:
1) Which header I must to include? Using mingw32 I can include
"new.h" and catch "bad_alloc" exception (instead of including "except.h"
and
catching "xalloc" - BCC) and all works perfectly but it doesn't work
when I try
to compile the same code using gnuwin32's g++ compiler or g++ port on
FreeBSD.
2) What are conventions for using an exception handling using g++
compiler?
Gergic
--
Name: Jaroslav Gergic
- student of the Faculty of Mathematics and Physics, Charles University,
Prague
E-mail: Jaroslav.Gergic@st.mff.cuni.cz
Web: http://www.kolej.mff.cuni.cz/~jg
- editor of the PDA section of Mobil Server
E-mail: gergi@mobil.cz
Web: http://www.mobil.cz
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".