Commit 329d8c7c authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'SystemTools-abort'

2581cfd1

 SystemTools: Update EnableMSVCDebugHook to simulate "Retry"
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !159
parents e67ed8ef 2581cfd1
...@@ -4666,8 +4666,12 @@ void SystemTools::ClassFinalize() ...@@ -4666,8 +4666,12 @@ void SystemTools::ClassFinalize()
# include <stdlib.h> # include <stdlib.h>
namespace KWSYS_NAMESPACE { namespace KWSYS_NAMESPACE {
static int SystemToolsDebugReport(int, char* message, int*) static int SystemToolsDebugReport(int, char* message, int* ret)
{ {
if (ret) {
// Pretend user clicked on Retry button in popup.
*ret = 1;
}
fprintf(stderr, "%s", message); fprintf(stderr, "%s", message);
fflush(stderr); fflush(stderr);
return 1; // no further reporting required return 1; // no further reporting required
......
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