Ticket #7999 (closed Bugs: fixed)
Multiple compilation errors due to circular header inclusion dependency
|Reported by:||francisco.mailing.lists@…||Owned by:||johnmaddock|
|Milestone:||To Be Determined||Component:||math|
|Version:||Boost Development Trunk||Severity:||Problem|
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.