Using uint in those structs gave me the following error:
/home/rakuco/kde4/src/kdesupport/taglib/taglib/riff/rifffile.cpp:38:
error: reference to 'uint' is ambiguous
/usr/include/sys/types.h:56: error: candidates are: typedef unsigned
int uint
Is it really necessary to have those typedefs in taglib.h? It'd be
nice to at least check if they are not being redefined.
CCMAIL: lalinsky@gmail.com
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@
1223282 283d02a7-25f6-0310-bc7c-
ecb5cbfe19da
struct Chunk
{
ByteVector name;
- uint offset;
- uint size;
+ TagLib::uint offset;
+ TagLib::uint size;
char padding;
};
}
Endianness endianness;
ByteVector type;
- uint size;
+ TagLib::uint size;
ByteVector format;
std::vector<Chunk> chunks;