[Boost-bugs] [Boost C++ Libraries] #5225: Defining 'BOOST_FILESYSTEM_VERSION' in config/users.hpp doesnt work

Subject: [Boost-bugs] [Boost C++ Libraries] #5225: Defining 'BOOST_FILESYSTEM_VERSION' in config/users.hpp doesnt work
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-02-24 12:10:55


#5225: Defining 'BOOST_FILESYSTEM_VERSION' in config/users.hpp doesnt work
------------------------------+---------------------------------------------
 Reporter: anonymous | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
  Version: Boost 1.46.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 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>

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5225>
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:05 UTC