Boost logo

Boost :

Subject: Re: [boost] [git] boost/config/user.hpp not found when building
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-12-16 12:47:45


AMDG

On 12/16/2013 09:08 AM, Peter Dimov wrote:
> 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:
>
> <snip>
>
> 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?
>

It should.

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

Anything that uses BOOST_PP_ITERATE may be
an issue. Actually, bcp had this same problem,
so we can probably look at its list.

In Christ,
Steven Watanabe


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