summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadDyld.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2015-04-09 09:20:29 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2015-04-09 09:20:29 (GMT)
commitf34061b9e76e36b23f7eeda81be1aee51b2380cd (patch)
tree7b298815f35a455257bcad37cafe5187461eb482 /unix/tclLoadDyld.c
parent594db8256437eeb9c5e78ca5ec38b22f441cdb00 (diff)
downloadtcl-f34061b9e76e36b23f7eeda81be1aee51b2380cd.zip
tcl-f34061b9e76e36b23f7eeda81be1aee51b2380cd.tar.gz
tcl-f34061b9e76e36b23f7eeda81be1aee51b2380cd.tar.bz2
Squelch otherwise-unavoidable OSX warnings. It's like magic!
Diffstat (limited to 'unix/tclLoadDyld.c')
-rw-r--r--unix/tclLoadDyld.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/tclLoadDyld.c b/unix/tclLoadDyld.c
index 50c283d..8b7dc58 100644
--- a/unix/tclLoadDyld.c
+++ b/unix/tclLoadDyld.c
@@ -48,6 +48,7 @@
#endif /* TCL_DYLD_USE_DLFCN */
#if TCL_DYLD_USE_NSMODULE || defined(TCL_LOAD_FROM_MEMORY)
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include <mach-o/dyld.h>
#include <mach-o/fat.h>
#include <mach-o/swap.h>