[Boost-bugs] [Boost C++ Libraries] #13514: can not build against boost 1.66.0 with MSVC 2015 due to range/concepts.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #13514: can not build against boost 1.66.0 with MSVC 2015 due to range/concepts.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-04-06 13:32:57


#13514: can not build against boost 1.66.0 with MSVC 2015 due to range/concepts.hpp
---------------------------------------------+-------------------------
 Reporter: Mario Emmenlauer <mario@…> | Owner: Neil Groves
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: range
  Version: Boost 1.66.0 | Severity: Problem
 Keywords: range, concepts.hpp, msvc, 2015 |
---------------------------------------------+-------------------------
 I could build against boost 1.65.1 and earlier versions successfully with
 MSVC 2015, but not against boost 1.66.0 anymore with MSVC 2015 due to an
 error in range/concepts.hpp. Everything builds fine with MSVC 2017. The
 error was previously discussed here:
 https://groups.google.com/forum/#!topic/boost-developers-
 archive/g9VWZU47Khw

 The detailed error is:

 {{{
 [4/196] Building CXX object
 lib\cpp\test\CMakeFiles\OpenSSLManualInitTest.dir\OpenSSLManualInitTest.cpp.obj
 FAILED:
 lib/cpp/test/CMakeFiles/OpenSSLManualInitTest.dir/OpenSSLManualInitTest.cpp.obj
 C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe /TP -DBOOST_ALL_DYN_LINK
 -DBOOST_ALL_NO_LIB -DBOOST_TEST_DYN_LINK -DFORCE_BOOST_SMART_PTR
 -DNOMINMAX -DUSE_STD_THREAD=1 -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
 -Ilib\cpp\test -ID:\tmp\Debug\Shared\thrift-0.11.0\lib\cpp\test -I.
 -ID:\tmp\Debug\Shared\thrift-0.11.0\lib\cpp\src -I"C:\Program Files
 (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt" -ID:\Debug\Shared\include
 /MDd /Zi -I/d/Debug/Shared/include /DDEBUG /DWINVER=_WIN32_WINNT_WIN7
 /D_WIN32_WINNT=_WIN32_WINNT_WIN7 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd
 /Zi /Ob0 /Od /RTC1 /MP /W3 /FIinttypes.h -DUNICODE -D_UNICODE
 /showIncludes
 /Folib\cpp\test\CMakeFiles\OpenSSLManualInitTest.dir\OpenSSLManualInitTest.cpp.obj
 /Fdlib\cpp\test\CMakeFiles\OpenSSLManualInitTest.dir\ /FS -c
 D:\tmp\Debug\Shared\thrift-0.11.0\lib\cpp\test\OpenSSLManualInitTest.cpp
 Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24210 for x64
 Copyright (C) Microsoft Corporation. All rights reserved.

 D:\Debug\Shared\include\boost/range/concepts.hpp(184): error C2143: syntax
 error: missing ';' before '<'
 D:\Debug\Shared\include\boost/range/concepts.hpp(209): note: see reference
 to class template instantiation
 'boost::range_detail::ForwardIteratorConcept<Iterator>' being compiled
 D:\Debug\Shared\include\boost/range/concepts.hpp(184): error C4430:
 missing type specifier - int assumed. Note: C++ does not support default-
 int
 D:\Debug\Shared\include\boost/range/concepts.hpp(184): error C2238:
 unexpected token(s) preceding ';'
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13514>
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-04-06 13:40:16 UTC