<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
I think _Unwind_RaiseException is the way to go.<br>It is the Linux runtime, the Darwin runtime, the *BSD runtime.<br>There still remains the setjmp option for portability.<br>libunwind is sort of an option, carrying it around, but I think probably not preferred.<br><br> - Jay<br><br><hr id="stopSpelling">From: hosking@cs.purdue.edu<br>Date: Thu, 6 Jan 2011 09:27:03 -0500<br>To: jay.krell@cornell.edu<br>CC: m3devel@elegosoft.com<br>Subject: Re: [M3devel] how to use gcc exception/unwind support?<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">I am just leery of getting too much more entangled with the gcc runtime.<div>It makes our compiler even more non-portable.<br>
<br><div><div>On Jan 6, 2011, at 2:21 AM, Jay K wrote:</div><br class="ecxApple-interchange-newline"><blockquote><span class="ecxApple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><div class="ecxhmmessage" style="font-size: 10pt; font-family: Tahoma;"> >> Yes, indeed. We don't need all the overhead of the C++ exception handling mechanism.<br><br><br> > It is so much? Well, it maybe is more to understand.<br><br><br>There is also a very good chance that raising a Modula-3 exception<br>will run C++ destructors for intervening threads, which is desirable,<br>if we do this "right".<br>Likewise, C++ exceptions running Modula-3 unlock/finally blocks.<br>Interop can be good.<br><br><br> - Jay<br></div></span></blockquote></div><br></div> </body>
</html>