linux - How to convert SIGFPE into a C++-exception -


under win32 it's easy convert seh-exception c++-exception _set_se_translator. there similar way convert signals c++-exceptions on linux? need mapping of sigfpe c++-exception.

with g++, can use -fnon-call-exceptions option , throw exception fpe signal handler. note not every signal can mapped that, signals arise trapping instructions. fortunately sigfpe such signal.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -