Re: [Boost-bugs] [Boost C++ Libraries] #12048: Deprecated libstdc++ header used in adjacency_list.hpp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12048: Deprecated libstdc++ header used in adjacency_list.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-08-09 08:37:14


#12048: Deprecated libstdc++ header used in adjacency_list.hpp
----------------------------------+----------------------
  Reporter: friedrich.grabner@… | Owner: jewillco
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: graph
   Version: Boost 1.59.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------+----------------------

Comment (by Murray Cumming <murrayc@…>):

 I think you could avoid this error by adding this before any include of
 the boost graph headers:

 #define BOOST_NO_SLIST

 That would prevent the header from trying to include these deprecated gnu
 headers:
 https://github.com/boostorg/graph/blob/develop/include/boost/graph/adjacency_list.hpp#L23

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12048#comment:3>
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 : 2017-02-16 18:50:20 UTC