This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: I can not catch the exception of Ada.


> 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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]