【发布时间】:2015-12-03 15:02:15
【问题描述】:
我在调整中使用 libxml2,但出现符号重新定义错误。看起来 theos 中的一些 DataAccess-structs.h 使用与 libxml 类似的相同 xmlNode 结构。由于这两个都是可能被其他应用程序使用的共享库,我不确定如何在不破坏所有内容的情况下解决它。
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/include/libxml2/libxml/tree.h:488:8: error:
redefinition of '_xmlNode'
struct _xmlNode {
^
<User_home>/Documents/substrate/theos/include/DataAccess/DataAccess-Structs.h:16:16: note:
previous definition is here
typedef struct _xmlNode {
【问题讨论】:
标签: c theos cydia redefinition cydia-substrate