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

Subject: [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-09 18:03:05


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

 cpp-pch pch : pch.hpp : <use>../../test/build//boost_test_exec_monitor ;

 writes a file pch.pch.cpp that is missing a terminating newline.
 "fatal error C1004: unexpected end-of-file found"

 #include "pch.hpp"
 ------------------^ newline needed here.

 This is required in strict C++ compliance mode /Za.

 compile-c-c++-pch ..\..\..\bin.v2\libs\math\test\msvc-9.0\debug\asynch-
 exceptions-on\threading-multi\pch.pch
 pch.pch.cpp
 ..\..\..\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

     call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
 x86 >nul
 cl /Zm800 -nologo @"..\..\..\bin.v2\libs\math\test\msvc-9.0\debug\asynch-
 exceptions-on\threading-multi\pch.pch.rsp"
 "..\..\..\bin.v2\libs\math\test\msvc-9.0\debug\asynch-exceptions-on
 \threading-multi\pch.pch.cpp"

 ...failed compile-c-c++-pch ..\..\..\bin.v2\libs\math\test\msvc-9.0\debug
 \asynch-exceptions-on\threading-multi\pch.pch
 ..\..\..\bin.v2\libs\math\test\msvc-9.0\debug\asynch-exceptions-on
 \threading-multi\pch.obj...

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