summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-29 11:51:43 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-29 11:51:43 (GMT)
commit61d2b69643ca76c9fe08056ac7ad23bb98d400e2 (patch)
tree68f7eab4174ddf5158d488c4ac41ea7cb9127c71 /generic
parent487eafcf35b2740ecac865b9f82a38ef2a33914c (diff)
downloadtcl-61d2b69643ca76c9fe08056ac7ad23bb98d400e2.zip
tcl-61d2b69643ca76c9fe08056ac7ad23bb98d400e2.tar.gz
tcl-61d2b69643ca76c9fe08056ac7ad23bb98d400e2.tar.bz2
Eliminate warnings in tclTest(Obj).c, caused by our -Wc++-compat flag.
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__
/*