使用类型 va_list (aka_builtin_va_list) 其中 BWDB.m 文件中需要算术或指针类型 [英] Used type va_list (aka_builtin_va_list) where arithmetic or pointer type is required in BWDB.m file
本文介绍了使用类型 va_list (aka_builtin_va_list) 其中 BWDB.m 文件中需要算术或指针类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我收到此错误,由于这一段代码,我无法运行程序...
I get this error and I'm unable to run the program due to this segment of code...
// build the query
NSString * query = [NSString stringWithFormat:@"update %@ set %@ = ? where id = ?",
tableName,
[[record allKeys] componentsJoinedByString:@" = ?, "]];
[self bindSQL:[query UTF8String] withVargs:(va_list)dValues.mutableBytes];
sqlite3_step(statement);
sqlite3_finalize(statement);
}
我使用的是 Bill Weinman 的 sqlite3 代码 - BWDB.m - 完整代码可以在这里找到 (http://bw.org/iosdata/).更新到 Xcode 5.1 后我注意到了这个错误.我四处寻找,但找不到任何有用的东西.如有任何建议,我将不胜感激.
I'm using Bill Weinman's sqlite3 code - BWDB.m - the full code can be found here (http://bw.org/iosdata/). I Noticed this error after updating to Xcode 5.1. I search around but couldn't find any thing helpful. I would appreciate any suggestions.
推荐答案
这里回答了一个类似的问题:
A similar question was answered here:
至于图书馆,你最好迁移到:
As to the library, you'd better migrate to:
这篇关于使用类型 va_list (aka_builtin_va_list) 其中 BWDB.m 文件中需要算术或指针类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文