Commit 7d669379 authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'hdf5-fix-vs2015-popup'

230948e2 vtkhdf5: Suppress VS 2015 assertion failure popup during try_run
Acked-by: Kitware Robot's avatarKitware Robot <>
Merge-request: !307
parents 31af3dd1 230948e2
......@@ -232,12 +232,26 @@ SIMPLE_TEST(struct stat sb; sb.st_blocks=0);
#include <stdlib.h>
#include <string.h>
#if defined(_MSC_VER) && defined(_DEBUG)
# include <crtdbg.h>
int DebugReport(int reportType, char* message, int* returnValue)
return 1; /* no further handling required */
int main(void)
char *llwidthArgs[] = { "l64", "l", "L", "q", "ll", NULL };
char *s = malloc(128);
char **currentArg = NULL;
LL_TYPE x = (LL_TYPE)1048576 * (LL_TYPE)1048576;
#if defined(_MSC_VER) && defined(_DEBUG)
for (currentArg = llwidthArgs; *currentArg != NULL; currentArg++)
char formatString[64];
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