Subject: [mingw - MSYS] RE: is there sigsetjmp/siglongjmp
(again)




Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3736542
By: keithmarshall

The message you cite suggested that you use Cygwin, if you need such POSIX
features;
the follow on suggestion to wait for MSYS is misleading.

MSYS does not, and cannot, make such POSIX functions available to your MinGW
compiled programs; it simply provides a shell environment, with a number of
GNU/POSIX tools, to facilitate building of MinGW programs using a GNU style
build process.

You have actually asked the wrong question -- it should have been "does MinGW
provide sigsetjmp...?", and I'm afraid the answer is still "no". MinGW is
designed
to work with the MSVCRT runtime, which doesn't have the functions in question
-- why would it, since Win32 itself doesn't support signal handling in any POSIX
compliant manner?

BTW, even though POSIX requires sigsetjmp and siglonglmp, their use is
discouraged,
(as indeed it is for setjmp and longjmp). Quoting the man page on my GNU/Linux
box: "setjmp() and sigsetjmp make programs hard to understand and maintain.
If possible an alternative should be used."

Regards,
Keith.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=338575


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on...

Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




Privacy