|
Boost : |
Subject: [boost] [boostdep] Unable to build on 'develop' branch
From: Edward Diener (eldiener_at_[hidden])
Date: 2014-07-17 15:04:22
When I try to build boostdep on the 'develop' branch with gcc-4.8.1 I get:
> gcc.compile.c++ ..\..\..\bin.v2\tools\boostdep\src\gcc-mingw-4.8.1\release\link-static\boostdep.o
> boostdep.cpp: In function 'void scan_module_dependencies(const string&, module_primary_actions&)':
> boostdep.cpp:193:46: error: no matching function for call to 'std::basic_ifstream<char>::basic_ifstream(const value_type*)'
> std::ifstream is( it->path().c_str() );
> ^
> boostdep.cpp:193:46: note: candidates are:
> In file included from ..\..\../boost/filesystem/operations.hpp:46:0,
> from ..\..\../boost/filesystem.hpp:17,
> from boostdep.cpp:11:
> c:\utilities\mingwcurrent\lib\gcc\mingw32\4.8.1\include\c++\fstream:467:7: note: std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]
> basic_ifstream(const char* __s, ios_base::openmode __mode = ios_base::in)
> ^
> c:\utilities\mingwcurrent\lib\gcc\mingw32\4.8.1\include\c++\fstream:467:7: note: no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const char*'
> c:\utilities\mingwcurrent\lib\gcc\mingw32\4.8.1\include\c++\fstream:453:7: note: std::basic_ifstream<_CharT, _Traits>::basic_ifstream() [with _CharT = char; _Traits = std::char_traits<char>]
> basic_ifstream() : __istream_type(), _M_filebuf()
> ^
> c:\utilities\mingwcurrent\lib\gcc\mingw32\4.8.1\include\c++\fstream:453:7: note: candidate expects 0 arguments, 1 provided
> c:\utilities\mingwcurrent\lib\gcc\mingw32\4.8.1\include\c++\fstream:427:11: note: std::basic_ifstream<char>::basic_ifstream(const std::basic_ifstream<char>&)
> class basic_ifstream : public basic_istream<_CharT, _Traits>
> ^
> c:\utilities\mingwcurrent\lib\gcc\mingw32\4.8.1\include\c++\fstream:427:11: note: no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const std::basic_ifstream<char>&'
> In file included from ..\..\../boost/filesystem/path_traits.hpp:23:0,
> from ..\..\../boost/filesystem/path.hpp:25,
> from ..\..\../boost/filesystem.hpp:16,
> from boostdep.cpp:11:
> ..\..\../boost/system/error_code.hpp: At global scope:
> ..\..\../boost/system/error_code.hpp:221:36: warning: 'boost::system::posix_category' defined but not used [-Wunused-variable]
> static const error_category & posix_category = generic_category();
> ^
> ..\..\../boost/system/error_code.hpp:222:36: warning: 'boost::system::errno_ecat' defined but not used [-Wunused-variable]
> static const error_category & errno_ecat = generic_category();
> ^
> ..\..\../boost/system/error_code.hpp:223:36: warning: 'boost::system::native_ecat' defined but not used [-Wunused-variable]
> static const error_category & native_ecat = system_category();
Similar error occurs if I build with clang. Anybody know what the
problem is ? I pulled the latest for all submodules on 'develop'.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk