ios 4.3的项目。我想添加TinyXML库。我使用指令制作它,然后我在源代码中添加了行并收到了编译错误:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/include/libxml2/libxml/tree.h:380:0 /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/include/libxml2/libxml/tree.h:380: 错误:预期的标识符或'('在数字常量之前
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/include/libxml2/libxml/tree.h:381:0 /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/include/libxml2/libxml/tree.h:381: 错误:预期';'在'void'之前
在线:
void 元素; / 元素的哈希表,如果有* /
void 属性; / 属性的哈希表,如果有* /
我无法弄清楚,哪里出了问题。如果我制作新项目,一切正常,只有当前项目存在问题,编译器选项可能有问题。