Reputation: 1666
In ios usr/include/MacTypes.h there is a
typedef unsigned long UInt32;
and In Poco/Types.h there is also
typedef unsigned int UInt32;
And when i try to compile it gives and error as :
Reference to "Uint32" is ambiguous
In this link the guy has exactly same problem as me. But i didnt understand the solution. So is there anybody knows a solution ?
*Note : I didnt include directly Poco/Types.h. This was included from another header file. And MacTypes.h was included by another library header file.
Upvotes: 0
Views: 446
Reputation: 1666
I solved this problem, if you face with this problem you should change order of importing headers. You should import Poco headers after native headers.
Upvotes: 1