开发者

Suppress Xcode warning? 'weak_import' attribute ignored

I've got quite a large Xcode project that since an Xcode upgrade is giving me loads of

"'weak_import' attrib开发者_JS百科ute ignored"

warnings, they are coming from WebKit, and a bit of research suggests it's a compiler bug.

Is there anyway to suppress them, I'm getting thousands, making the 'real' warnings impossible to find.

Cheers

MT


Try adding '-Wno-attributes' to the Other Warning Flags in the Xcode project's build settings.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜