Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2006-01-09 09:27:59

"John Maddock" <john_at_[hidden]> wrote in message
>> The recent update to Boost.Filesystem has broken bcp in a way I'm not
>> sure how to fix. The problem is that while scanning for header
>> dependencies it comes across some platform dependent names (
>> :sys:stat.h ) and then checks for the existence of that name in
>> various places such as <tools/build/jam_src/:sys:stat.h>. Obviously
>> such checks should fail, but rather than just saying "no the file
>> doesn't exist" the function exists is throwing an exception. IMO
>> there's no real need for an exception in this case is there?


> The Win32 error code BTW is ERROR_INVALID_NAME.

I happened to use ":sys:stat.h" as the regression test case, and it still
threw. Turns out the error code is ERROR_INVALID_NAME for
"tools/build/jam_src/:sys:stat.h", but ERROR_INVALID_PARAMETER for

Both cases fixed in CVS.

Thanks for the report,


Boost list run by bdawes at, gregod at, cpdaniel at, john at