summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-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 4312a08..ae55eaf 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -28,6 +28,8 @@
# define TCL_UTF_MAX 3
#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 26f07d8..7e38e00 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 */
#ifdef __GNUC__
/*