【发布时间】:2016-12-01 14:05:06
【问题描述】:
func(char * buff)
{
if (buff == NULL || buff <= 0)
{
//do some things
}
}
来自 clang 4.0:“指针和零之间的有序比较。”
来自 xcode 8:“构建成功”
i guess this might be the error that could be change to a warning.
What should i do if i want to close this error in clang?
【问题讨论】:
标签: ios objective-c xcode compiler-errors clang