[M3devel] gcc/eh/setjmp

Jay jayk123 at hotmail.com
Mon Jan 21 11:50:28 CET 2008


Folks, try adding -Wunreachable-code to your m3back options and tell me if you don't get loads of warnings.
for stuff like:
 
TRY
   return Foo();
ELSE
   return FALSE;
 
I get them on NT386GNU and PPC_DARWIN.
 
Functions with TRY need, in gcc parlance:
 calls_setjmp
 
and the exception/finally blocks need:
 has_nonlocal_label
 
and functions with RAISE might need:
 has_nonlocal_goto
 
Luckily, gcc doesn't seem to act on what it figure out.
 
 - Jay
_________________________________________________________________
Helping your favorite cause is as easy as instant messaging. You IM, we give.
http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080121/96a8304b/attachment-0001.html>


More information about the M3devel mailing list