Boost logo

Boost :

Subject: Re: [boost] [git] boost/config/user.hpp not found when building
From: Peter Dimov (lists_at_[hidden])
Date: 2013-12-16 12:08:30


Steven Watanabe wrote:

> The reason boost/config/user.hpp is a problem is that the #include scanner
> isn't finding it, because it's #included through a macro.

Perhaps if we change the logic from:

// if we don't have a user config, then use the default location:
#if !defined(BOOST_USER_CONFIG) && !defined(BOOST_NO_USER_CONFIG)
# define BOOST_USER_CONFIG <boost/config/user.hpp>
#endif
// include it first:
#ifdef BOOST_USER_CONFIG
# include BOOST_USER_CONFIG
#endif

to:

// if we don't have a user config, then use the default location:
#if !defined(BOOST_USER_CONFIG) && !defined(BOOST_NO_USER_CONFIG)
# include <boost/config/user.hpp>
#elif defined(BOOST_USER_CONFIG)
# include BOOST_USER_CONFIG
#endif

that would help?

What other cases are there of the scanner missing an include? The rest of
config.hpp seems to be OK, at first glance.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk