Compiler error on 64bit system: conflicting return type specified for 'uint32_t' ... overriding "size_t"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openWNS Library |
Fix Committed
|
Medium
|
Maciej Muehleisen |
Bug Description
In the various *Link* header files in library/src/ldk as well as in the corresponding tests, uint32_t is used instead of size_t in some occasions yielding compiler errors on 64bit systems:
In file included from include/
include/
include/
include/
include/
A fix is straightforward: uint32_t should be replaced by size_t in the header files, as well as in the tests and also in the CompoundSwitch*.?pp files in framework/
Thank you for the patches. They have been applied to openwns-dllbase and openwns-library. I do not know if other projects need changes since we do not have a 64bit OS here. Compiling 32bit on Ubuntu 9.10 should work with the current version.