From 9d6928a80d5f8ef2e19c1bb2341faf965825292d Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 7 Mar 2016 10:22:54 +0100 Subject: [PATCH] Bummer, don't display a macro that we just tested to be undefine --- src/simix/smx_context.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/simix/smx_context.cpp b/src/simix/smx_context.cpp index 4362848d2f..9e2dab9ffb 100644 --- a/src/simix/smx_context.cpp +++ b/src/simix/smx_context.cpp @@ -129,8 +129,7 @@ void *SIMIX_context_stack_new(void) #if !defined(PTH_STACKGROWTH) || (PTH_STACKGROWTH != -1) static int warned_once = 0; if (!warned_once) { - XBT_WARN("Stack overflow protection is known to be broken on your system. Either you're on Windows or PTH_STACKGROWTH != -1 (current value is %d).", - PTH_STACKGROWTH); + XBT_WARN("Stack overflow protection is known to be broken on your system. Either stack grows upwards, or it was not even tested properly."); warned_once = 1; } #endif -- 2.20.1