AMDG Clarke, Carus V wrote:
I have been using the filesystem library from Boost version 1.43 on a Cygwin 1.7.6-1 platform without any problems. The library was built using the Cygwin version of GCC 4.3.4. The library from the 1.44 version of Boost compiles compiles o.k., but the functions that access files no longer work. This appears to be true for both versions 2 and 3 of the library. Below is a simple program that runs o.k. with the Boost version 1.43 version of the library. The program runs but can not read the file status using Boost version 1.44. This program also works fine when built using MSVC 9.0 and Boost version 1.44.
//--------------------
<snip>
int main() { <snip> std::cout << "Error code message: " << ec.message() << std::endl; return 0; }
//--------------------
This program's output on my system is shown below. The file 'foo' is written by the program and does actually exist.
For version 2:
boost::filesystem library version is v2 Checking status of file foo... Error code value: 0 Error code message: The operation completed successfully Does file exist? false
Your code doesn't appear to print this last line. In Christ, Steven Watanabe