Boost logo

Boost :

Subject: [boost] [smart_ptr][thread] Build failures
From: Raffi Enficiaud (raffi.enficiaud_at_[hidden])
Date: 2017-03-01 09:02:36


Hi all,

I have the following compilation issues on master and develop, failing
the VS2008, VS2012, VS2013 builds for boost.test (VS2015 ok):

01-Mar-2017 09:57:43 common.mkdir ..\..\..\bin.v2\libs\thread
01-Mar-2017 09:57:43 common.mkdir ..\..\..\bin.v2\libs\thread\build
01-Mar-2017 09:57:43 common.mkdir ..\..\..\bin.v2\libs\thread\build\msvc-11
01-Mar-2017 09:57:43 common.mkdir
..\..\..\bin.v2\libs\thread\build\msvc-11\debug
01-Mar-2017 09:57:43 common.mkdir
..\..\..\bin.v2\libs\thread\build\msvc-11\debug\link-static
01-Mar-2017 09:57:43 common.mkdir
..\..\..\bin.v2\libs\thread\build\msvc-11\debug\link-static\threading-multi
01-Mar-2017 09:57:43 common.mkdir
..\..\..\bin.v2\libs\thread\build\msvc-11\debug\link-static\threading-multi\win32
01-Mar-2017 09:57:45 compile-c-c++
..\..\..\bin.v2\libs\thread\build\msvc-11\debug\link-static\threading-multi\win32\thread.obj
01-Mar-2017 09:57:45 thread.cpp
01-Mar-2017 09:57:45
D:\bamboo_build_dir\SW-BCB108-VC2012W64\library\boost/thread/detail/thread.hpp(486)
: warning C4067: unexpected tokens following preprocessor directive -
expected a newline
01-Mar-2017 09:57:45
D:\bamboo_build_dir\SW-BCB108-VC2012W64\library\boost/smart_ptr/allocate_shared_array.hpp(355)
: error C2059: syntax error : ')'
01-Mar-2017 09:57:45
D:\bamboo_build_dir\SW-BCB108-VC2012W64\library\boost/smart_ptr/allocate_shared_array.hpp(358)
: see reference to class template instantiation
'boost::detail::sp_less_align<T,U>' being compiled
01-Mar-2017 09:57:45
D:\bamboo_build_dir\SW-BCB108-VC2012W64\library\boost/smart_ptr/allocate_shared_array.hpp(357)
: error C2143: syntax error : missing ')' before ';'
01-Mar-2017 09:57:45
D:\bamboo_build_dir\SW-BCB108-VC2012W64\library\boost/smart_ptr/allocate_shared_array.hpp(357)
: error C2143: syntax error : missing '}' before ')'
01-Mar-2017 09:57:45
D:\bamboo_build_dir\SW-BCB108-VC2012W64\library\boost/smart_ptr/allocate_shared_array.hpp(357)
: error C2059: syntax error : ')'
01-Mar-2017 09:57:45
D:\bamboo_build_dir\SW-BCB108-VC2012W64\library\boost/smart_ptr/allocate_shared_array.hpp(357)
: error C2238: unexpected token(s) preceding ';'

Can those be quickly fixed?
Thanks,
Raffi


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk