Boost logo

Boost :

Subject: Re: [boost] [build] Headers rule does both too much and too little
From: Peter Dimov (lists_at_[hidden])
Date: 2014-02-18 12:39:47


John Maddock wrote:
> > You have #include "check_type.hpp" in add_const_test.cpp, and in
> > check_type.hpp you have #include <boost/test/test_tools.hpp>, and from
> > then on, you can imagine what happens.
>
> Oh, that would be that then :(

I don't know how smart b2's scanner is; my simplistic one would be fooled by

/**/#include <boost/test/test_tools.hpp>

which is, I believe, a valid pp directive, although I haven't, of course,
checked. :-)


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