0
在構建項目時,我得到斷言失敗,指向此代碼。任何想法爲什麼請?我試過清理,刪除派生數據,關閉xcode等等。請任何幫助。xcode斷言失敗
unsigned int
FNVForCString(
const char* s)
{
assert(s);
unsigned int hash = 2166136261;
int ch;
while (0 != (ch = *s++))
{
hash *= 16777619;
hash ^= ch;
}
return hash;
}
只是想說這是失敗的斷言(S);線。
哎呀我錯過了,有了孩子瘋狂的夜晚謝謝,發現了錯誤。 – elliotrock