Opened 10 years ago

Last modified 10 years ago

#8258 new Bugs

Wave: unexpected pre-processing error

Reported by: chris0@… Owned by: Hartmut Kaiser
Milestone: To Be Determined Component: wave
Version: Boost 1.53.0 Severity: Problem
Keywords: Cc:

Description

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:

/path-to-boost/dist/bin/wave PPError1.txt

Wave was built with:

cd boost_1_53_0/tools/wave/build
b2 variant=debug

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

Change History (1)

comment:1 by Hartmut Kaiser, 10 years ago

Hmmm, works for me (windows/MSVC 2010). Not sure what I can do here.

Note: See TracTickets for help on using tickets.