Boost logo

Boost Users :

Subject: [Boost-users] boost 1.46.1 vs. boost 1.49.0 ?
From: JIA Pei (jp4work_at_[hidden])
Date: 2012-03-28 16:04:40


Hi, all:

My code is as simple as:

> path tempp(dir_path, native );

It used to work for boost 1.42. And now, it's working fine with boost
1.49.0 ...
However, current Ubuntu 11.10 affords boost 1.46.1.
Whenever I tried to compile my code with boost 1.46.1, I got the following
errors:

invalid conversion from ‘bool (*)(const string&) {aka bool (*)(const
> std::basic_string<char>&)}’ to ‘boost::enable_if_c<true, void>::type* {aka
> void*}’ [-fpermissive]

In addition, I notice there are some other errors at the same time, which
seems to have something to do with filesystem3 ?

Invalid arguments '
> Candidates are:
> bool is_directory(boost::filesystem3::file_status)
> bool is_directory(const boost::filesystem3::path &)
> bool is_directory(const boost::filesystem3::path &,
> boost::system::error_code &)
> '

However, why my code is able to compile with boost 1.49.0 then?

Cheers
Pei

-- 
Pei JIA
Email: jp4work_at_[hidden]
cell:    +1 604-362-5816
Welcome to Vision Open
http://www.visionopen.com


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net