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)
commit1f2fb4cf5b60563c5a489e4b4cbdbe5e334dc248 (patch)
tree7b298815f35a455257bcad37cafe5187461eb482 /unix/tclLoadDyld.c
parent3d5869fb4bb012a0188d91ec25d638fdde7342b0 (diff)
downloadtcl-1f2fb4cf5b60563c5a489e4b4cbdbe5e334dc248.zip
tcl-1f2fb4cf5b60563c5a489e4b4cbdbe5e334dc248.tar.gz
tcl-1f2fb4cf5b60563c5a489e4b4cbdbe5e334dc248.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>