标签: objective-c xcode clang warnings diagnostics
我遇到警告“正在执行不可用的方法”,因为我已经实现了allocWithZone:方法,该方法标记为OBJC_ARC_UNAVAILABLE。我想使用
allocWithZone:
OBJC_ARC_UNAVAILABLE
#pragma clang diagnostic ignored
忽略它。问题是我找不到响应“实施不可用方法”的参数字符串
这是我查找的内容,没有关于“实现不可用方法”或“ objc arc不可用”的项目:
答案 0 :(得分:1)
查看this Clang 8文档
爆炸声标志
此处列出所有诊断标志。