Opened 5 years ago
Last modified 5 years ago
#13464 new Bugs
Boost failed to compile test in graph lib due to the error C2499.
Reported by: | Owned by: | Jeremiah Willcock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | graph |
Version: | Boost 1.63.0 | Severity: | Regression |
Keywords: | Cc: |
Description
We tried to build and run graph test for Boost. It failed to build due to the error C2499: 'boost::array_binary_tree_node<RandomAccessIterator,ID>::children_type::iterator': a class cannot be its own base class. Could you please help take a look at this? Thanks!
Reproduce steps:
- git clone -c core.autocrlf=true --recursive https://github.com/boostorg/boost.git D:\Boost\src
- Open a VS 2015 x86 command prompt and browse to D:\Boost\src
- .\bootstrap
- .\b2 headers variant=release --build-dir=..\out\Release --address-model=32
- .\b2 variant=release --build-dir=..\out\Release --address-model=32
- .\b2 -j4 variant=release --build-dir=..\out\x86rel libs\graph\test
Expected result:
All tests passed
Actual result:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.12.25827\include\xlocale(315): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc .\boost/graph/detail/array_binary_tree.hpp(46): error C2499: 'boost::array_binary_tree_node<RandomAccessIterator,ID>::children_type::iterator': a class cannot be its own base class .\boost/graph/detail/array_binary_tree.hpp(72): note: see reference to class template instantiation 'boost::array_binary_tree_node<RandomAccessIterator,ID>::children_type::iterator' being compiled .\boost/graph/detail/array_binary_tree.hpp(94): note: see reference to class template instantiation 'boost::array_binary_tree_node<RandomAccessIterator,ID>::children_type' being compiled .\boost/graph/detail/array_binary_tree.hpp(162): note: see reference to class template instantiation 'boost::array_binary_tree_node<RandomAccessIterator,ID>' being compiled .\boost/graph/detail/array_binary_tree.hpp(46): error C2143: syntax error: missing ',' before '<'
Hi, any update for this?