On Tue, Feb 08, 2011 at 02:56:44PM -0800, Zach Carter wrote: > On Tuesday, February 08, 2011 02:49:01 pm Roger Leigh wrote: > > > sbuild-chroot-config.cc: In member function 'void > > > sbuild::chroot_config::add_config_directory(const string&, const > > > string&)': sbuild-chroot-config.cc:170:49: error: no matching function > > > for call to > > > 'std::basic_string<char>::basic_string(boost::filesystem3::path)' > > > > OK, they must have removed the explicit cast to string. A little > > annoying, since a filename is just a string. > > > > I'll add a configure check. > > > > Would you be OK to test a prerelease tarball once I've done that, since > > I can't test it myself yet? It'll probably be the weekend at the > > earliest, given that I'm supported to be writing my PhD thesis, and > > not coding ;-) > > Sure, just let me know where to get it when it's ready. I'm in no hurry, as > we already have a good Fedora build with my current patch. > > btw, I think boost 1.46 is still beta, not released yet. So, if this is an > issue you think they might want to fix in boost, we can try to pursue that. > It > looks like it was scheduled to release yesterday, though, so they might push > back pretty hard.
Apparently, there are two versions of the filesystem library, v2 and v3 since 1.44. However, v2 was the default. v3 is the default in 1.46. You can also switch with a '#define BOOST_FILESYSTEM_VERSION 2', but we may as well just use the default. That explains why it's only just started to cause problems. http://www.boost.org/doc/libs/1_45_0/libs/filesystem/v3/doc/index.htm (top box) http://www.boost.org/doc/libs/1_45_0/libs/filesystem/v3/doc/deprecated.html http://www.boost.org/doc/libs/1_45_0/libs/filesystem/v3/doc/reference.html#path-filename So no worries, we'll just go with a check and fall back to the old style if required. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
signature.asc
Description: Digital signature