X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fmain.cpp;h=67e2076deff8525bba3526e1f2563fab26352dc0;hp=a4c570be47544ac7f0541b09a524cb2883b38fd1;hb=f3452f32fba45b1f317e4a6a1906d16068ce3bdf;hpb=e08b7671a4592481aa73d68b30b7bd1d96e75002 diff --git a/src/main.cpp b/src/main.cpp index a4c570b..67e2076 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -21,6 +21,7 @@ void sigfpe_handler(int sig) int main(int argc, char ** argv) { + //Debug("Main!"); signal(SIGFPE, sigfpe_handler); #if REALTYPE == REAL_IRRAM iRRAM_initialize(argc,argv); @@ -31,7 +32,10 @@ int main(int argc, char ** argv) #endif // We want to crash if we ever get a NaN. + // AH, so *this* is where that got enabled, I was looking for compiler flags + #ifndef __MINGW32__ feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW); + #endif DebugRealInfo();