[Mingw-w64-public] Zero-overhead exceptions

2012-12-01 Thread Ulf Magnusson
Hi, If I've understood things correctly, MinGW-w64 uses the SJLJ (longjmp-based) exceptions implementation for both win32 and win64, because DW2 (speedy, table-based) can't pass exceptions through foreign stack frames (e.g., throwing an exception from within a callback and catching it at the

Re: [Mingw-w64-public] Zero-overhead exceptions

2012-12-01 Thread NightStrike
On Sat, Dec 1, 2012 at 3:37 AM, Ulf Magnusson ulfali...@gmail.com wrote: Hi, If I've understood things correctly, MinGW-w64 uses the SJLJ (longjmp-based) exceptions implementation for both win32 and win64, because DW2 (speedy, table-based) can't pass exceptions through foreign stack frames

Re: [Mingw-w64-public] Zero-overhead exceptions

2012-12-01 Thread Ulf Magnusson
On Sat, Dec 1, 2012 at 4:33 PM, NightStrike nightstr...@gmail.com wrote: On Sat, Dec 1, 2012 at 3:37 AM, Ulf Magnusson ulfali...@gmail.com wrote: Hi, If I've understood things correctly, MinGW-w64 uses the SJLJ (longjmp-based) exceptions implementation for both win32 and win64, because DW2