This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: I can not catch the exception of Ada.
- From: Arnaud Charlet <charlet at adacore dot com>
- To: "Y.Tomino" <demoonlit at panathenaia dot halfmoon dot jp>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 10 Dec 2005 17:10:36 +0100
- Subject: Re: I can not catch the exception of Ada.
- References: <439AFA38.8000702@panathenaia.halfmoon.jp>
> I can not catch the exception of Ada after gcc-4.1-20051125 on Windows.
> I confirmed with 4.1.0 20051202 and 4.1.0 20051209.
Hmm, I guess the following patch will fix this.
The issue is that we're using GCC dwarf2 EH mechanim by default under Windows,
using yet to be submitted mingw patches, so this support cannot be
enabled yet at the FSF.
The patch is preapproved, assuming it fixes the issue.
Arno
--
--- Makefile.in.old 2005-12-10 11:08:01.779604000 -0500
+++ Makefile.in 2005-12-10 11:08:09.039416000 -0500
@@ -1164,7 +1164,6 @@ ifeq ($(strip $(filter-out cygwin32% min
mlib-tgt.adb<mlib-tgt-mingw.adb \
indepsw.adb<indepsw-mingw.adb
- EH_MECHANISM=-gcc
MISCLIB = -lwsock32
GMEM_LIB = gmemlib
PREFIX_OBJS = $(PREFIX_REAL_OBJS)