|
Boost Testing : |
Subject: Re: [Boost-testing] [EXTERNAL] develop regression shunted with process_jam_log build failure
From: Jim Bell (Jim_at_[hidden])
Date: 2014-02-05 17:50:22
On 2014-02-03 11:52 PM, Belcourt, Kenneth wrote:
> On Feb 3, 2014, at 12:58 PM, Jim Bell wrote:
>
>> process_jam_log build fails on the develop side (which shunts the regression), with:
>>
>> ../../../boost/smart_ptr/detail/array_deleter.hpp: In member function void boost::detail::array_deleter<T>::init(boost::detail::array_deleter<T>::type*):
>> ../../../boost/smart_ptr/detail/array_deleter.hpp:60:36: error: count was not declared in this scope
>> array_init(memory, count);
>>
>> Any objection to using the process_jam_log built on the master side?
>
> Strange, is code the above in the develop branch, I can't find it? Maybe it's out of date, here's what I've got for array_deleter.hpp.
Please forgive my incomplete post. Full messages below. Both
process_jam_log.cpp and tiny_xml.cpp hit the same cascade of errors.
This is Linux (OpenSUSE), gcc-4.8.
gcc.compile.c++ bin/gcc-4.8/release/process_jam_log.o
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_FILESYSTEM_STATIC_LINK=1
-DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -D_CRT_SECURE_NO_WARNINGS
-I"../../.." -c -o "bin/gcc-4.8/release/process_jam_log.o"
"../src/process_jam_log.cpp"
In file included from ../../../boost/smart_ptr/make_shared_array.hpp:12:0,
from ../../../boost/smart_ptr/make_shared.hpp:18,
from ../../../boost/make_shared.hpp:15,
from ../../../boost/smart_ptr.hpp:28,
from ../src/detail/tiny_xml.hpp:17,
from ../src/process_jam_log.cpp:13:
../../../boost/smart_ptr/detail/array_deleter.hpp: In member function
void
boost::detail::array_deleter<T>::init(boost::detail::array_deleter<T>::type*):
../../../boost/smart_ptr/detail/array_deleter.hpp:60:36: error: count
was not declared in this scope
array_init(memory, count);
^
../../../boost/smart_ptr/detail/array_deleter.hpp:60:36: note: suggested
alternative:
In file included from /usr/include/c++/4.8/algorithm:62:0,
from ../../../boost/smart_ptr/shared_ptr.hpp:38,
from ../../../boost/shared_ptr.hpp:17,
from ../../../boost/smart_ptr.hpp:21,
from ../src/detail/tiny_xml.hpp:17,
from ../src/process_jam_log.cpp:13:
/usr/include/c++/4.8/bits/stl_algo.h:4645:5: note: std::count
count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
^
In file included from ../../../boost/filesystem/path_traits.hpp:23:0,
from ../../../boost/filesystem/path.hpp:25,
from ../../../boost/filesystem/operations.hpp:25,
from ../src/detail/common.hpp:12,
from ../src/process_jam_log.cpp:14:
../../../boost/system/error_code.hpp: At global scope:
../../../boost/system/error_code.hpp:222: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:223: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:224:36: warning:
boost::system::native_ecat defined but not used [-Wunused-variable]
static const error_category & native_ecat = system_category();
^
...failed gcc.compile.c++ bin/gcc-4.8/release/process_jam_log.o...