summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-05-21 08:13:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-05-21 08:13:47 (GMT)
commit7bc7f4397fe3edbdbc6136f6cbe223b3704a054e (patch)
tree716b2f04937d59acd7bd27fa32e0f722c63a1dae
parent37c4a581adba19a71bdc30897e11a4be2d24b2ce (diff)
parent708eadd19e5581da93b7d8e801ffe977e6e1376f (diff)
downloadtcl-7bc7f4397fe3edbdbc6136f6cbe223b3704a054e.zip
tcl-7bc7f4397fe3edbdbc6136f6cbe223b3704a054e.tar.gz
tcl-7bc7f4397fe3edbdbc6136f6cbe223b3704a054e.tar.bz2
merge 8.7
-rw-r--r--generic/tclStubInit.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index 9755819..d8244ec 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -250,6 +250,15 @@ static int uniCharNcasecmp(const Tcl_UniChar *ucs, const Tcl_UniChar *uct, unsig
MODULE_SCOPE const TclStubs tclStubs;
MODULE_SCOPE const TclTomMathStubs tclTomMathStubs;
+#ifdef __GNUC__
+/*
+ * The rest of this file shouldn't warn about deprecated functions; they're
+ * there because we intend them to be so and know that this file is OK to
+ * touch those fields.
+ */
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif
+
/* !BEGIN!: Do not edit below this line. */
static const TclIntStubs tclIntStubs = {