summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadDyld.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2015-04-09 09:20:29 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2015-04-09 09:20:29 (GMT)
commit7ad94aa4ad01234699a99a9f4dbd69f9ea5b5c5f (patch)
tree7b298815f35a455257bcad37cafe5187461eb482 /unix/tclLoadDyld.c
parent6b9eba361367765bd17fef50181bdb037ec67c14 (diff)
downloadtcl-7ad94aa4ad01234699a99a9f4dbd69f9ea5b5c5f.zip
tcl-7ad94aa4ad01234699a99a9f4dbd69f9ea5b5c5f.tar.gz
tcl-7ad94aa4ad01234699a99a9f4dbd69f9ea5b5c5f.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>