Debug: print output on --debug-fpe
in practice often we want to breakpoint here (instead of flooding output) but its confusing the option does nothing in release builds. Devs can comment out locally.
This commit is contained in:
@@ -202,7 +202,7 @@ static bool use_crash_handler = true;
|
||||
#if defined(__linux__) || defined(_WIN32) || defined(OSX_SSE_FPE)
|
||||
static void fpe_handler(int UNUSED(sig))
|
||||
{
|
||||
// printf("SIGFPE trapped\n");
|
||||
fprintf(stderr, "debug: SIGFPE trapped\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user