compiler construction - Boost Filesystem Library Visual C++ Compile Error -


I am trying to compile / run some example programs with buffer file system libraries. I am using MS-Visual C ++ with Visual Studio .NET (2003).

I have installed the Boost Library, version 1.38 and 1.39 (just a version issue) when using the BoostPro installer.

If I just try to include /boost/filesystem/operations.hpp , I get the following error:

  \ Boost_1_38 \ boost \ system \ error_code.hpp (230): Error C2039: 'Type': 'boost :: enable_if & lt; Boost :: system :: is_error_condition_enum & lt; Cond, boost :: detail :: enable_if_default_T & gt; Is not a member of;  

Any help is greatly appreciated. Thanks!

It seems that SFINAE is not working - which may be a specific problem for VS 2003 . I suggest that you edit the creator defined on that row to edit that other parameter. There may be less useful error messages, but nothing should be broken (that there is no other 1-argument constructor.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -