[Boost-bugs] [Boost C++ Libraries] #8258: Wave: unexpected pre-processing error

Subject: [Boost-bugs] [Boost C++ Libraries] #8258: Wave: unexpected pre-processing error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-06 18:55:52


#8258: Wave: unexpected pre-processing error
--------------------------------+-------------------------------------------
 Reporter: chris0@… | Owner: hkaiser
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: wave
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: |
--------------------------------+-------------------------------------------
 Pre-processing the following file with the wave tool (v2.3.2.4101) on OSX
 10.8.2 built from Boost 1.53.0 with GCC 4.2.1 produces an unexpected
 error.

 File PPError1.txt:
 {{{
 #if 0
         "\U0000x"
 #endif
 }}}

 Error:
 {{{
 /path-to-file/PPError1.txt:2:2: error: universal character name specifies
 an invalid character: \U0000x"
 }}}

 Wave was invoked with:[[BR]]
     /path-to-boost/dist/bin/wave PPError1.txt

 Wave was built with:[[BR]]
     cd boost_1_53_0/tools/wave/build[[BR]]
     b2 variant=debug

 Strangely, deleting any (or all) of the 0's in the second line causes wave
 to produce no error.[[BR]]
 [GNU cpp-4.2.1 produces no errors in all cases.]

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8258>
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:12 UTC