[Boost-bugs] [Boost C++ Libraries] #13433: b2 emits strange error message when building 1.66.0 on windows 10 against very new visual studio

Subject: [Boost-bugs] [Boost C++ Libraries] #13433: b2 emits strange error message when building 1.66.0 on windows 10 against very new visual studio
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-01-31 22:08:49


#13433: b2 emits strange error message when building 1.66.0 on windows 10 against
very new visual studio
------------------------------+---------------------
 Reporter: ivandavid14@… | Owner: (none)
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost 1.66.0 | Severity: Problem
 Keywords: b2 bjam |
------------------------------+---------------------
 Hello, I am try to build boost against the latest version of visual studio
 (15.5.5, I know that 15.5.6 is out though, shouldn't be too different) and
 I am getting this error

 failed to write command file!

 when running this command

 b2.exe --hash address-model=32 debug --stagedir=bin\v141\Win32\ -a
 --toolset=msvc-14.1 cxxflags="/D"_WIN32_WINNT=0x0600" /std:c++17 /Qspectre
 /D"_HAS_AUTO_PTR_ETC=1""

 It has passed sometimes however it frequently doesn't. Its unclear what
 exactly I am doing that causes this error

 Here are the things I've done step by step

 1: Download boost source code and unzip it

 2: run bootstrap.bat

 3: run above cmd line from the visual studio developer command prompt
 (this has failed when using powershell too)

 this was the last few things that were printed
 Info: Boost.Config is older than your compiler version - probably nothing
 bad will happen - but you may wish to look for an update Boost version.
 Define BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE to suppress this message.
 msvc.archive bin.v2\libs\date_time\build\a1668ad3e8cba9b190515cabd106a4cf
 \libboost_date_time-vc141-mt-gd-x32-1_66.lib
 common.copy bin\v141\Win32\lib\libboost_date_time-vc141-mt-gd-x32-1_66.lib
 bin.v2\libs\date_time\build\a1668ad3e8cba9b190515cabd106a4cf
 \libboost_date_time-vc141-mt-gd-x32-1_66.lib
         1 file(s) copied.
 compile-c-c++
 bin.v2\libs\exception\build\a1668ad3e8cba9b190515cabd106a4cf\clone_current_exception_non_intrusive.obj
 clone_current_exception_non_intrusive.cpp
 Info: Boost.Config is older than your compiler version - probably nothing
 bad will happen - but you may wish to look for an update Boost version.
 Define BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE to suppress this message.
 failed to write command file!

 I am unsure what is causing this. I don't think I am passing in parameters
 to the cxx flags incorrectly. I am filing a ticket because I suspect there
 might be a bug in b2 or bjam.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13433>
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 : 2018-01-31 22:14:37 UTC