Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#7778 closed Bugs (fixed)

bcp not compiling

Reported by: mihai.rotaru@… Owned by: John Maddock
Milestone: To Be Determined Component: bcp
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

bcp fails to compile. Using bjam with mingw-4.7.2 on Windows XP SP3. I successfully compiled other libs (regex, signals, test).

In case somebody else runs across this issue, the 1.51 bcp binary is available in the official pre-compiled tools zip: http://netcologne.dl.sourceforge.net/project/boost/boost-binaries/1.51.0/boost_1_51_tools.zip.

Performing configuration checks

    - has_icu builds           : no
...patience...
...found 989 targets...
...updating 4 targets...
gcc.compile.c++ ..\..\bin.v2\tools\bcp\gcc-mingw-4.7.2\release\link-static\copy_path.o
copy_path.cpp: In member function 'void bcp_implementation::copy_path(const boost::filesystem::path&)':
copy_path.cpp:66:50: error: no matching function for call to 'std::basic_ifstream<char>::basic_ifstream(const value_type*)'
copy_path.cpp:66:50: note: candidates are:
In file included from ..\../boost/filesystem/operations.hpp:45:0,
                 from copy_path.cpp:15:
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:476:7: note: std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:476:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const string& {aka const std::basic_string<char>&}'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:460: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]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:460:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const char*'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:446:7: note: std::basic_ifstream<_CharT, _Traits>::basic_ifstream() [with _CharT = char; _Traits = std::char_traits<char>]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:446:7: note:   candidate expects 0 arguments, 1 provided
copy_path.cpp:81:87: error: no matching function for call to 'std::basic_ofstream<char>::open(const value_type*, std::_Ios_Openmode)'
copy_path.cpp:81:87: note: candidates are:
In file included from ..\../boost/filesystem/operations.hpp:45:0,
                 from copy_path.cpp:15:
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:702:7: note: void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:702:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const char*'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:723:7: note: void std::basic_ofstream<_CharT, _Traits>::open(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:723:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const string& {aka const std::basic_string<char>&}'
copy_path.cpp:83:63: error: no matching function for call to 'std::basic_ofstream<char>::open(const value_type*, const openmode&)'
copy_path.cpp:83:63: note: candidates are:
In file included from ..\../boost/filesystem/operations.hpp:45:0,
                 from copy_path.cpp:15:
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:702:7: note: void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:702:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const char*'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:723:7: note: void std::basic_ofstream<_CharT, _Traits>::open(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:723:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const string& {aka const std::basic_string<char>&}'
copy_path.cpp:92:50: error: no matching function for call to 'std::basic_ifstream<char>::basic_ifstream(const value_type*)'
copy_path.cpp:92:50: note: candidates are:
In file included from ..\../boost/filesystem/operations.hpp:45:0,
                 from copy_path.cpp:15:
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:476:7: note: std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:476:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const string& {aka const std::basic_string<char>&}'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:460: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]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:460:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const char*'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:446:7: note: std::basic_ifstream<_CharT, _Traits>::basic_ifstream() [with _CharT = char; _Traits = std::char_traits<char>]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:446:7: note:   candidate expects 0 arguments, 1 provided
copy_path.cpp:114:87: error: no matching function for call to 'std::basic_ofstream<char>::open(const value_type*, std::_Ios_Openmode)'
copy_path.cpp:114:87: note: candidates are:
In file included from ..\../boost/filesystem/operations.hpp:45:0,
                 from copy_path.cpp:15:
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:702:7: note: void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:702:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const char*'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:723:7: note: void std::basic_ofstream<_CharT, _Traits>::open(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:723:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const string& {aka const std::basic_string<char>&}'
copy_path.cpp:116:63: error: no matching function for call to 'std::basic_ofstream<char>::open(const value_type*, const openmode&)'
copy_path.cpp:116:63: note: candidates are:
In file included from ..\../boost/filesystem/operations.hpp:45:0,
                 from copy_path.cpp:15:
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:702:7: note: void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:702:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const char*'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:723:7: note: void std::basic_ofstream<_CharT, _Traits>::open(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:723:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const string& {aka const std::basic_string<char>&}'
copy_path.cpp:130:50: error: no matching function for call to 'std::basic_ifstream<char>::basic_ifstream(const value_type*)'
copy_path.cpp:130:50: note: candidates are:
In file included from ..\../boost/filesystem/operations.hpp:45:0,
                 from copy_path.cpp:15:
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:476:7: note: std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:476:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const string& {aka const std::basic_string<char>&}'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:460: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]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:460:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const char*'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:446:7: note: std::basic_ifstream<_CharT, _Traits>::basic_ifstream() [with _CharT = char; _Traits = std::char_traits<char>]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:446:7: note:   candidate expects 0 arguments, 1 provided
copy_path.cpp:209:87: error: no matching function for call to 'std::basic_ofstream<char>::open(const value_type*, std::_Ios_Openmode)'
copy_path.cpp:209:87: note: candidates are:
In file included from ..\../boost/filesystem/operations.hpp:45:0,
                 from copy_path.cpp:15:
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:702:7: note: void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:702:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const char*'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:723:7: note: void std::basic_ofstream<_CharT, _Traits>::open(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:723:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const string& {aka const std::basic_string<char>&}'
copy_path.cpp:211:63: error: no matching function for call to 'std::basic_ofstream<char>::open(const value_type*, const openmode&)'
copy_path.cpp:211:63: note: candidates are:
In file included from ..\../boost/filesystem/operations.hpp:45:0,
                 from copy_path.cpp:15:
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:702:7: note: void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:702:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const char*'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:723:7: note: void std::basic_ofstream<_CharT, _Traits>::open(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:723:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const string& {aka const std::basic_string<char>&}'
copy_path.cpp:218:50: error: no matching function for call to 'std::basic_ifstream<char>::basic_ifstream(const value_type*)'
copy_path.cpp:218:50: note: candidates are:
In file included from ..\../boost/filesystem/operations.hpp:45:0,
                 from copy_path.cpp:15:
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:476:7: note: std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:476:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const string& {aka const std::basic_string<char>&}'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:460: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]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:460:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const char*'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:446:7: note: std::basic_ifstream<_CharT, _Traits>::basic_ifstream() [with _CharT = char; _Traits = std::char_traits<char>]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:446:7: note:   candidate expects 0 arguments, 1 provided
copy_path.cpp:222:93: error: no matching function for call to 'std::basic_ofstream<char>::basic_ofstream(const value_type*, std::_Ios_Openmode)'
copy_path.cpp:222:93: note: candidates are:
In file included from ..\../boost/filesystem/operations.hpp:45:0,
                 from copy_path.cpp:15:
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:647:7: note: std::basic_ofstream<_CharT, _Traits>::basic_ofstream(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:647:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const string& {aka const std::basic_string<char>&}'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:629:7: note: std::basic_ofstream<_CharT, _Traits>::basic_ofstream(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:629:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const char*'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:614:7: note: std::basic_ofstream<_CharT, _Traits>::basic_ofstream() [with _CharT = char; _Traits = std::char_traits<char>]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:614:7: note:   candidate expects 0 arguments, 2 provided
In file included from ..\../boost/filesystem/path_traits.hpp:23:0,
                 from ..\../boost/filesystem/path.hpp:25,
                 from bcp_imp.hpp:16,
                 from copy_path.cpp:13:
..\../boost/system/error_code.hpp: At global scope:
..\../boost/system/error_code.hpp:214:36: warning: 'boost::system::posix_category' defined but not used [-Wunused-variable]
..\../boost/system/error_code.hpp:215:36: warning: 'boost::system::errno_ecat' defined but not used [-Wunused-variable]
..\../boost/system/error_code.hpp:216:36: warning: 'boost::system::native_ecat' defined but not used [-Wunused-variable]

    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall  -DBOOST_ALL_NO_LIB=1 -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DNDEBUG  -I"..\.." -c -o "..\..\bin.v2\tools\bcp\gcc-mingw-4.7.2\release\link-static\copy_path.o" "copy_path.cpp"

...failed gcc.compile.c++ ..\..\bin.v2\tools\bcp\gcc-mingw-4.7.2\release\link-static\copy_path.o...
gcc.compile.c++ ..\..\bin.v2\tools\bcp\gcc-mingw-4.7.2\release\link-static\fileview.o
fileview.cpp: In member function 'void fileview::open(const boost::filesystem::path&)':
fileview.cpp:60:30: error: no matching function for call to 'std::basic_ifstream<char>::basic_ifstream(const value_type*)'
fileview.cpp:60:30: note: candidates are:
In file included from fileview.cpp:15:0:
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:476:7: note: std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:476:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const string& {aka const std::basic_string<char>&}'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:460: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]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:460:7: note:   no known conversion for argument 1 from 'const value_type* {aka const wchar_t*}' to 'const char*'
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:446:7: note: std::basic_ifstream<_CharT, _Traits>::basic_ifstream() [with _CharT = char; _Traits = std::char_traits<char>]
c:\pdev\mingw\bin\../lib/gcc/i686-pc-mingw32/4.7.2/../../../../include/c++/4.7.2/fstream:446:7: note:   candidate expects 0 arguments, 1 provided
In file included from ..\../boost/filesystem/path_traits.hpp:23:0,
                 from ..\../boost/filesystem/path.hpp:25,
                 from fileview.hpp:17,
                 from fileview.cpp:11:
..\../boost/system/error_code.hpp: At global scope:
..\../boost/system/error_code.hpp:214:36: warning: 'boost::system::posix_category' defined but not used [-Wunused-variable]
..\../boost/system/error_code.hpp:215:36: warning: 'boost::system::errno_ecat' defined but not used [-Wunused-variable]
..\../boost/system/error_code.hpp:216:36: warning: 'boost::system::native_ecat' defined but not used [-Wunused-variable]

    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall  -DBOOST_ALL_NO_LIB=1 -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DNDEBUG  -I"..\.." -c -o "..\..\bin.v2\tools\bcp\gcc-mingw-4.7.2\release\link-static\fileview.o" "fileview.cpp"

...failed gcc.compile.c++ ..\..\bin.v2\tools\bcp\gcc-mingw-4.7.2\release\link-static\fileview.o...
...skipped <p..\..\bin.v2\tools\bcp\gcc-mingw-4.7.2\release\link-static>bcp.exe for lack of <p..\..\bin.v2\tools\bcp\gcc-mingw-4.7.2\release\link-static>copy_path.o...
...skipped <p..\..\dist\bin>bcp.exe for lack of <p..\..\bin.v2\tools\bcp\gcc-mingw-4.7.2\release\link-static>bcp.exe...
...failed updating 2 targets...
...skipped 2 targets...

Change History (2)

comment:1 by John Maddock, 10 years ago

Resolution: fixed
Status: newclosed

(In [81815]) Fix up iostream operations to match changed boost.filesystem. Fixes GCC compiles. Fixes #7778.

comment:2 by anonymous, 10 years ago

Fixes are in the patch above, in the mean time it should build with VC++ if you have access to that.

Note: See TracTickets for help on using tickets.