
13 Oct
2005
13 Oct
'05
6:59 a.m.
Thomas Andersen wrote:
I have tried to get wave to preprocess the boost headers. However I get an error in cstdint.hpp line 246
# if ULONG_MAX == 18446744073709551615 // 2**64 - 1
error: ill formed integer literal or integer constant too large: 18446744073709551615
Have anybody else encountered this problem, and found a way around it?
On 32 bit system, an unsigned long can't be == 18446744073709551615. Even on a 64 bit system, the literal 18446744073709551615 would be signed. The code probably should read # if ULONG_MAX == 18446744073709551615ULL on systems that allow for 'long long'. Regards, m Send instant messages to your online friends http://au.messenger.yahoo.com