Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Bummer, don't display a macro that we just tested to be undefine
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 7 Mar 2016 09:22:54 +0000 (10:22 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 7 Mar 2016 09:22:54 +0000 (10:22 +0100)
src/simix/smx_context.cpp

index 4362848..9e2dab9 100644 (file)
@@ -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) {
 #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
       warned_once = 1;
     }
 #endif