Timeout due to popup dialog box

skaller's Avatar

skaller

09 Oct, 2015 12:18 AM

Hi, I have a test suite in which one test is hanging the build.
On my local machine, its a popup dialog box telling me the program crashed.
The test run continues once I click the dialog box.

I have set the error handler like this

#include "flx_run.hpp"

// to set the critical error handler
#ifdef _WIN32
#include <windows.h>
#include <stdio.h>
#endif

int main(int argc, char **argv)
{
  #ifdef _WIN32
  SetErrorMode (SEM_FAILCRITICALERRORS);
  #endif
  return felix_arun(argc, argv);
}

but it seems Windows is disobedient and pops up a dialog box anyhow. Anyone have any idea what I have done wrong?
System: Windows 10, Visual Studio 14 (2015) command line compilers.

  1. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:00 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac