Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6124: Problem with copy_file in 1.47
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-17 08:17:05
#6124: Problem with copy_file in 1.47
------------------------------------+---------------------------------------
Reporter: morandidodo@⦠| Owner: bemandawes
Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords: filesystem copy_file linker
------------------------------------+---------------------------------------
Comment (by morandidodo@â¦):
I found a possible cause.
Take this piece of code as test:
{{{
#include <boost/filesystem.hpp>
using namespace boost::filesystem;
int main()
{
copy_file("a", "b");
return 0;
}
}}}
I'm using g++ 4.5.2, and I noticed the problem occurs only when I compile
the code with -std=c++0x. What I don't know is if the problem is related
to the boost library or the compiler. However if I use boost 1.42 (the
library provided from my Linux distribution) everything goes well.
Any suggestion?
-- dodomorandi
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6124#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC