Boost logo

Boost :

Subject: Re: [boost] [build] Headers rule does both too much and too little
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-02-18 13:55:17


AMDG

On 02/18/2014 09:39 AM, Peter Dimov wrote:
>
> 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. :-)
>

The pattern is "#[ \t]*include[ ]*(<(.*)>|\"(.*)\")"
(no anchors), so this will match.

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