Boost logo

Boost-Build :

Subject: Re: [Boost-build] new HDRSCAN output
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-04-05 17:31:30


AMDG

On 04/05/2012 01:59 PM, Nogradi, Chris wrote:
> What does this mean?
>
> HDRSCAN out of date for resource.h
> real : (([^ ]+[ ]+(BITMAP|CURSOR|FONT|ICON|MESSAGETABLE|RT_MANIFEST)[ ]+([^ "]+|"[^"]+"))|(#include[ ]*(<[^<]+>|"[^"]+")))
> cached: #[ ]*include[ ]*(<(.*)>|"(.*)")
> HDRSCAN out of date for resource.h
> real : #[ ]*include[ ]*(<(.*)>|"(.*)")
> cached: (([^ ]+[ ]+(BITMAP|CURSOR|FONT|ICON|MESSAGETABLE|RT_MANIFEST)[ ]+([^ "]+|"[^"]+"))|(#include[ ]*(<[^<]+>|"[^"]+")))
>
> Just appeared with SVN 77778
>

Can you find more precisely which commit
introduced this? 77726 and 77727 both
touched hcache.c, but I'm not sure how
they could have caused this. Actually
I don't know why you didn't get this
message before.

What's happening is that resource.h is
being scanned for #includes multiple
times. It's being #included from both
a resource file and a C++ source file.
The two have different scanners, and
the cache is per-file, so the cache is
invalidated whenever the scanner changes.

(This message should be harmless, but I'm
concerned about it because it indicates a
behavior change that I don't understand).

In Christ,
Steven Watanabe


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk