boost 1.46.0

Zach Carter z.carter at f5.com
Tue Feb 8 21:12:38 UTC 2011


On Tuesday, February 08, 2011 04:43:37 am Petr Machata wrote:

> Actually I found the above in 1.37 (not 47) changelog.  The ticket #1972 
> has been closed for years.  See:
> http://www.boost.org/doc/libs/1_45_0/libs/filesystem/v2/doc/index.htm
> 

Oops, my bad for substituting s/4/3/ somehow in my head, thanks for correcting 
me.

> >  From 
http://koji.fedoraproject.org/koji/getfile?taskID=2765676&name=build.log:
> > sbuild-chroot-config.cc: In member function 'void
> > sbuild::chroot_config::add_config_directory(const string&, const
> > string&)': sbuild-chroot-config.cc:170:32: error: 'class
> > boost::filesystem3::directory_entry' has no member named 'leaf'
> 
> If there's a lot of problems like this, compile with 
> -DBOOST_FILESYSTEM_VERSION=2 and have upstream decide what to do 
> long-term.  In this particular case, you should be able to replace 
> leaf() with path().filename().string().

This worked perfectly, thanks!

-Zach


More information about the devel mailing list