Opened 9 years ago
Closed 9 years ago
#8848 closed Bugs (fixed)
Wave driver improperly processes 0xFFFFui64 token
Reported by: | Szymon Kurek | Owned by: | Hartmut Kaiser |
---|---|---|---|
Milestone: | To Be Determined | Component: | wave |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | Cc: | kurek.szymon@… |
Description
For the input:
#define TEST 0xFFFFFui64 void test { long a = TEST; }
the wave output is:
void test { long a = 0xFFFFFu i64; }
There is an unexpected whitespace between the 'u' and 'i', causing compilation errors.
We are using wave driver from boost 1.54, compiled manually on Windows, and the problem occurs regardless of the options we pass to the driver. The same behavior is observed if we launch the driver without any options.
I am marking this as a 'Problem', since this makes it impossible for us to use Visual Studio includes together with Boost libraries. In particular, on the line 48 of limits.h in the Visual Studio /VC/include directory, there is the line
#define ULLONG_MAX 0xffffffffffffffffui64
Which is used boost limits.h.
(In [85077]) Wave: fixed #8848: Wave driver improperly processes 0xFFFFui64 token