From 4dca797221b66c707e572427e2c4448e322b03f2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 2 Jul 2020 23:13:56 +0200 Subject: Mac: Disable Wno-direct-ivar-access This should probably be fixed as well, but that seems like quite a boilerplate project, so just disable it for now. --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index f3b0361..0c1f5a4 100644 --- a/wscript +++ b/wscript @@ -100,7 +100,8 @@ def configure(conf): if conf.env.TARGET_PLATFORM == 'darwin': append_cflags(['-DGL_SILENCE_DEPRECATION', - '-Wno-deprecated-declarations']) + '-Wno-deprecated-declarations', + '-Wno-direct-ivar-access']) conf.check_cc(lib='m', uselib_store='M', mandatory=False) conf.check_cc(lib='dl', uselib_store='DL', mandatory=False) -- cgit v1.2.1