[Boost-bugs] [Boost C++ Libraries] #13464: Boost failed to compile test in graph lib due to the error C2499.

Subject: [Boost-bugs] [Boost C++ Libraries] #13464: Boost failed to compile test in graph lib due to the error C2499.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-03-05 02:55:29


#13464: Boost failed to compile test in graph lib due to the error C2499.
------------------------------+-------------------------------
 Reporter: 1518134125@… | Owner: Jeremiah Willcock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: graph
  Version: Boost 1.63.0 | Severity: Regression
 Keywords: |
------------------------------+-------------------------------
 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:**

 1. git clone -c core.autocrlf=true --recursive
 https://github.com/boostorg/boost.git D:\Boost\src
 2. Open a VS 2015 x86 command prompt and browse to D:\Boost\src
 3. .\bootstrap
 4. .\b2 headers variant=release --build-dir=..\out\Release --address-
 model=32
 5. .\b2 variant=release --build-dir=..\out\Release --address-model=32
 6. .\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 '<'

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13464>
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-03-05 03:00:15 UTC