Re: [Boost-bugs] [Boost C++ Libraries] #3602: created pch.cpp file is missing a terminating newline.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3602: created pch.cpp file is missing a terminating newline.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-10 12:04:46


#3602: created pch.cpp file is missing a terminating newline.
-----------------------------------------+----------------------------------
 Reporter: pbristow | Owner: vladimir_prus
     Type: Bugs | Status: assigned
Milestone: Boost 1.42.0 | Component: build
  Version: Boost Development Trunk | Severity: Problem
 Keywords: missing newline /Za pch.cpp |
-----------------------------------------+----------------------------------

Comment(by anonymous):

 Sadly not quite

 pch.pch.cpp
 ..\..\..\bin.v2\libs\math\test\msvc-9.0\debug\asynch-exceptions-on
 \threading-multi\pch.pch.cpp(1) : warning C4067: unexpected tokens
 following preprocessor directive - expected a newline
 ..\..\..\bin.v2\libs\math\test\msvc-9.0\debug\asynch-exceptions-on
 \threading-multi\pch.pch.cpp(1) : fatal error C1004: unexpected end-of-
 file found

 pch.pch.cpp contains:

 #include "pch.hpp"\n

 So isn't translating the \n into a newline :-(

 (using bjam 3.1.17 I believe

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3602#comment:3>
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:01 UTC