Boost logo

Boost Testing :

Subject: Re: [Boost-testing] Bad commit?
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-12-05 14:06:20


On Sun, 5 Dec 2010, Belcourt, K. Noel wrote:

> Hi,
>
> It appears all trunk testing is broken due to a change affecting
> process_jam_log.cpp. The bad commit likely occurred sometime Friday as
> Thursday night's tests were okay. Here's the error message.

I think this might be from the change to Boost.Filesystem v3 as the
default version. I had some BGL failures that had similar messages and
were fixed by updating the Filesystem code.

-- Jeremiah Willcock

>
> gcc.compile.c++ bin/gcc-4.1.2/release/process_jam_log.o
>
> "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC
> -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -D_CRT_SECURE
> _NO_WARNINGS -I"/scratch/boost/boost" -c -o
> "bin/gcc-4.1.2/release/process_jam_log.o" "../src/process_jam_log.cpp"
>
> ../src/process_jam_log.cpp: In function ‘int main(int, char**)’:
> ../src/process_jam_log.cpp:616: error: invalid conversion from ‘bool
> (*)(const std::string&)’ to ‘void*’
> ../src/process_jam_log.cpp:616: error: initializing argument 2 of
> ‘boost::filesystem3::path::path(const Source&, typename
> boost::enable_if<boost::file
> system3::path_traits::is_pathable<typename boost::decay<T>::type>,
> void>::type*) [with Source = char*]’
> ../src/process_jam_log.cpp:630: error: invalid conversion from ‘bool
> (*)(const std::string&)’ to ‘void*’../src/process_jam_log.cpp:630: error:
> initializing argument 2 of ‘boost::filesystem3::path::path(const Source&,
> typename boost::enable_if<boost::file
> system3::path_traits::is_pathable<typename boost::decay<T>::type>,
> void>::type*) [with Source = char*]’../src/process_jam_log.cpp:651: error:
> invalid conversion from ‘bool (*)(const std::string&)’ to ‘void*’
> ../src/process_jam_log.cpp:651: error: initializing argument 2 of
> ‘boost::filesystem3::path::path(const Source&, typename
> boost::enable_if<boost::file
> system3::path_traits::is_pathable<typename boost::decay<T>::type>,
> void>::type*) [with Source = char*]’
> ../src/process_jam_log.cpp:696: warning: comparison between signed and
> unsigned integer expressions
> /scratch/boost/boost/boost/system/error_code.hpp: At global scope:
> /scratch/boost/boost/boost/system/error_code.hpp:214: warning:
> ‘boost::system::posix_category’ defined but not used
> /scratch/boost/boost/boost/system/error_code.hpp:215: warning:
> ‘boost::system::errno_ecat’ defined but not used
> /scratch/boost/boost/boost/system/error_code.hpp:216: warning:
> ‘boost::system::native_ecat’ defined but not used
> ...failed gcc.compile.c++ bin/gcc-4.1.2/release/process_jam_log.o...
>
>
> _______________________________________________
> Boost-Testing mailing list
> Boost-Testing_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-testing


Boost-testing list run by mbergal at meta-comm.com