【发布时间】:2016-01-24 15:53:08
【问题描述】:
在 ios usr/include/MacTypes.h 中有一个
typedef unsigned long UInt32;
在 Poco/Types.h 中也有
typedef unsigned int UInt32;
当我尝试编译时,它给出了错误:
Reference to "Uint32" is ambiguous
In this link 这家伙的问题和我一模一样。但我不明白解决方案。那么有人知道解决方案吗?
*注意:我没有直接包含 Poco/Types.h。这是从另一个头文件中包含的。并且 MacTypes.h 被另一个库头文件包含。
【问题讨论】:
标签: c++ ios objective-c xcode poco