Hi Stuart,
The following sample program produces the problem for me:
#include <iostream> #include
int main(int c, char** v) { boost::filesystem::path testpath("test/path"); std::cout << testpath.native_file_string() << std::endl; return 0; } When I run this code I get output similar to the following:
test/pathp????test/????data????path... etc (a whole bunch of other random stuff like days of the week & month, as well as garbage character strings)
Can anyone shed some light on this for me? I'm running boost version 1.31.0 on Gentoo Linux x86 (kernel 2.6.5-gentoo-r1) with GCC version 3.3.2, for anyone who is interested.
I can't reproduce this either with Debian 1.31 package or with current CVS. I'm afraid you'd need to do some debugging. - Volodya