summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclTest.c2
-rw-r--r--generic/tclTestObj.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c
index 1138c7c..3aa066d 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -22,6 +22,8 @@
# define USE_TCL_STUBS
#endif
#include "tclInt.h"
+#undef TCLBOOLWARNING
+#define TCLBOOLWARNING(boolPtr) /* needed here because we compile with -Wc++-compat */
#include "tclOO.h"
#include <math.h>
diff --git a/generic/tclTestObj.c b/generic/tclTestObj.c
index b0279b5..e40d7af 100644
--- a/generic/tclTestObj.c
+++ b/generic/tclTestObj.c
@@ -25,6 +25,8 @@
# include "tclTomMath.h"
#endif
#include "tclStringRep.h"
+#undef TCLBOOLWARNING
+#define TCLBOOLWARNING(boolPtr) /* needed here because we compile with -Wc++-compat */
#include <assert.h>