develooper Front page | perl.perl5.porters | Postings from January 2015

Windows c++ try/catch & croak incompability

Thread Next
From:
Олег Пронин
Date:
January 29, 2015 15:41
Subject:
Windows c++ try/catch & croak incompability
Message ID:
CABFBc45TobAGmzEtjfHQue-tO31_cRTG5FRyJVFM3-Mj6vrNsA@mail.gmail.com
After try {} catch {} execution, any further croak() in XS will hang
after displaying die-message.
I tried to use setjmp&longjmp directly after try/catch and it works ok.

My perl is strawberry perl 5.20.1.

Test XS module attached. Just "dmake test" and you'll see.

-- 
Oleg Pronin,
CTO, Co-Founder,
Crazy Panda LTD
CP Decision LTD

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About