[Boost-bugs] [Boost C++ Libraries] #8848: Wave driver improperly processes 0xFFFFui64 token

Subject: [Boost-bugs] [Boost C++ Libraries] #8848: Wave driver improperly processes 0xFFFFui64 token
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-18 13:52:36


#8848: Wave driver improperly processes 0xFFFFui64 token
------------------------------+---------------------
 Reporter: Szymon Kurek | Owner: hkaiser
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: wave
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------
 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8848>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC