Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-06-17 00:55:00


Hi Stuart,

> The following sample program produces the problem for me:
>
> #include <iostream>
> #include <boost/filesystem/path.hpp>
> 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net