Boost logo

Boost-Build :

Subject: Re: [Boost-build] new HDRSCAN output
From: Nogradi, Chris (Chris.Nogradi_at_[hidden])
Date: 2012-04-09 09:57:34


Steven,

I upgraded from 75774 to 77778 so it was a big jump! I tried both 77725 and 77726 and saw the message appear for both. Any other versions you want me to try?

Chris

-----Original Message-----
From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Steven Watanabe
Sent: Thursday, April 05, 2012 4:32 PM
To: Boost.Build developer's and user's list
Subject: Re: [Boost-build] new HDRSCAN output

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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.

Thank you for your cooperation.


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