Commit 0db0ac3a authored by Henrik Gramner's avatar Henrik Gramner
Browse files

checkasm: Disable Windows Error Reporting

When developing new assembly code it's expected that checkasm may crash,
and the error reporting dialog popup can be somewhat annoying.
parent deae1b10
......@@ -2823,6 +2823,11 @@ int main(int argc, char *argv[])
{
int ret = 0;
#ifdef _WIN32
/* Disable the Windows Error Reporting dialog */
SetErrorMode( SEM_NOGPFAULTERRORBOX );
#endif
if( argc > 1 && !strncmp( argv[1], "--bench", 7 ) )
{
#if !ARCH_X86 && !ARCH_X86_64 && !ARCH_PPC && !ARCH_ARM && !ARCH_AARCH64 && !ARCH_MIPS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment