I can not catch the exception of Ada.

Y.Tomino demoonlit@panathenaia.halfmoon.jp
Sat Dec 10 19:19:00 GMT 2005


Thank you, I confirmed to catch the exception with 4.1.0-20051209.

 > 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.
It's wonderful that zero cost exception comes to Windows!

YT

Arnaud Charlet wrote:
>>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)
> 



More information about the Gcc mailing list