Boost logo

Boost :

Subject: Re: [boost] [config][predef] Is it OK for boost.config to depend on boost.predef?
From: Beman Dawes (bdawes_at_[hidden])
Date: 2014-05-29 07:02:41


On Thu, May 29, 2014 at 4:20 AM, John Maddock <boost.regex_at_[hidden]>wrote:

> 4) #include <boost/predef/platform.h> in the files that actually use the
>>> desired macros.
>>>
>>
> That seems like the correct solution to me: a file should include the
> headers documented to define the things it needs and not rely on implicit
> includes (even though through laziness we do that all the time!).

You are right, of course.

>
> Note/Warning, I was not planning on merging Predef develop to master until
>> after the next release (as the docs need to be updated and quickbook is
>> giving me problems ATM). So whatever change that depends on those added
>> defs will need to be postponed until after the next release.
>>
>
> That seems like a good reason not to create a dependency to predef, at
> least not yet, I'd like to be able to do one more merge of develop->master
> in Boost.Config before the next release.

+1

--Beman


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