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 -

delphi - Take screenshot in webcam using VFrames in Console Application -

c++ - Migration from QScriptEngine to QJSEngine -