Subject: [Boost-bugs] [Boost C++ Libraries] #7999: Multiple compilation errors due to circular header inclusion dependency
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-07 04:31:27
#7999: Multiple compilation errors due to circular header inclusion dependency
------------------------------------------------+---------------------------
Reporter: francisco.mailing.lists@⦠| Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
Version: Boost Development Trunk | Severity: Problem
Keywords: |
------------------------------------------------+---------------------------
In file included from libs/math/build/../src/tr1/assoc_laguerre.cpp:10:
In file included from ./boost/math/tr1.hpp:383:
In file included from ./boost/math/tools/promotion.hpp:26:
In file included from ./boost/math/tools/config.hpp:25:
./boost/math/special_functions/detail/round_fwd.hpp:24:13: error: use of
undeclared identifier 'tools'
typename tools::promote_args<T>::type trunc(const T& v, const Policy&
pol);
----
promotion includes config, config includes round_fwd, round_fwd includes
promotion.
config.h seems to not need to include round_fwd.h, since from what I've
checked, what it used from round_fwd.h is inside a definition of a macro
(BOOST_MATH_STD_USING), hence no compile time dependency.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7999> 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:11 UTC