Opened 12 years ago

Closed 12 years ago

#5225 closed Bugs (worksforme)

Defining 'BOOST_FILESYSTEM_VERSION' in config/users.hpp doesnt work

Reported by: anonymous Owned by: Beman Dawes
Milestone: To Be Determined Component: filesystem
Version: Boost 1.46.0 Severity: Problem
Keywords: Cc:

Description

As I understand it, I should be able to define BOOST_FILESYSTEM_VERSION in boost/config/user.hpp to compile with v2 of the filesystem. This doesnt seem to be the case. The only way I can get my application to compile is by defining it before including 'convenience.hpp'.

#define BOOST_FILESYSTEM_VERSION 2 <-- With this in app compiles ok. #include <boost/filesystem/convenience.hpp> or.. #include <boost/filesystem/v2/convenience.hpp>

Attachments (1)

errors.txt (571 bytes ) - added by anonymous 12 years ago.
Compiler errors

Download all attachments as: .zip

Change History (2)

by anonymous, 12 years ago

Attachment: errors.txt added

Compiler errors

comment:1 by Beman Dawes, 12 years ago

Resolution: worksforme
Status: newclosed

I haven't been able to reproduce the problem, so am closing the ticket.

If you are still having the problem, please reopen the ticket and attach a small program that is failing for you.

Thanks,

--Beman

Note: See TracTickets for help on using tickets.