On 03/02/2012 08:25 PM, Sam Hertz wrote:
Hi,
I am having some trouble with the latest version of the Boost Filesystem library. The following causes a segmentation fault:
boost::filesystem::create_directory(boost::filesystem::current_path()/"test"); boost::filesystem::remove_all(boost::filesystem::current_path()/"test");
You know you're dividing, right? current_path() divided by constant string :-) -- Dipl.-Ing. (FH) Andreas Wehrmann Software Development -------------------------------------------------------------- Center Communication Systems GmbH A-1210 Wien, Ignaz-Köck-Straße 19 Sitz in Wien FN 796 88p, Firmenbuchgericht Wien www.centersystems.com Tel.: +43 (0) 190 199 - 3616 Mobile: +43 (0) 664 884 75916 Fax: +43 (0) 190 199 - 2110 E-Mail: a.wehrmann@centersystems.com