Galvin,that was reported when boost version 61 was used, and the application was compiled with g++ version 5.21 with options
CFLAGS += -fsanitize=alignment
CFLAGS += -fsanitize=object-size
CFLAGS += -fsanitize=vptr
Thanks,
David.
On Tuesday, August 16, 2016 7:39 AM, "boost-users-request@lists.boost.org" wrote:
Send Boost-users mailing list submissions to
boost-users@lists.boost.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.boost.org/mailman/listinfo.cgi/boost-users
or, via email, send a message with subject or body 'help' to
boost-users-request@lists.boost.org
You can reach the person managing the list at
boost-users-owner@lists.boost.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Boost-users digest..."
Today's Topics:
1. Re: some runtime errors in shared_count.hpp (Gavin Lambert)
2. [boost][multiprecision] compile error with gcc 4.8.4 (Rob Conde)
3. [property_tree] - unsuppressed warning under VS2015 Update 3
(Tamas.Ruszkai@leica-geosystems.com)
4. Re: [boost][multiprecision] compile error with gcc 4.8.4
(John Maddock)
5. Custom build of Python3 not picked up by Boost.Build
(Matthieu Brucher)
----------------------------------------------------------------------
Message: 1
Date: Tue, 16 Aug 2016 11:21:20 +1200
From: Gavin Lambert
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] some runtime errors in shared_count.hpp
Message-ID:
Content-Type: text/plain; charset=windows-1252; format=flowed
On 15/08/2016 23:04, David Frank wrote:
boost/smart_ptr/detail/shared_count.hpp:484:41: runtime error: member
call on address 0x0000055807b0 which does not point to an object of type
'sp_counted_base'
0x0000055807b0: note: object is of type
'boost::detail::sp_counted_impl_pboost::detail::thread_data_base'
00 00 00 00 10 82 bd b4 c1 7f 00 00 01 00 00 00 01 00 00 00 c0 29 5a
05 00 00 00 00 41 00 00 00
^~~~~~~~~~~~~~~~~~~~~~~
Given that sp_counted_base is a base class of sp_counted_impl_p<>, I'm
inclined to think that whatever is reporting that is confused.
It's also useless to make a post like this without specifying what
version of Boost you are using and which tool is reporting these errors.
------------------------------
Message: 2
Date: Tue, 16 Aug 2016 00:59:24 +0000
From: Rob Conde
To: "boost-users@lists.boost.org"
Subject: [Boost-users] [boost][multiprecision] compile error with gcc
4.8.4
Message-ID:
Content-Type: text/plain; charset="windows-1252"
Please see the scenario below...am I doing something wrong or is this a gcc or multiprecision bug?
Thanks,
Rob Conde
given the following code (multiPrecisionTest.cpp):
#include
#include
typedef boost::multiprecision::int128_t int128_t;
typedef boost::multiprecision::cpp_bin_float_quad float128_t;
int main()
{
int128_t intVal;
float128_t floatVal(intVal.convert_to());
return 0;
}
--------------------------------------------------------------------------
g++ -std=c++0x -c multiPrecisionTest.cpp
I get the following error:
In file included from ./boost/multiprecision/cpp_int.hpp:1936:0,
from multiPrecisionTest.cpp:1:
./boost/multiprecision/cpp_int/misc.hpp: In instantiation of ?typename boost::enable_if_c<(boost::multiprecision::backends::is_trivial_cpp_int >::value && boost::multiprecision::is_signed_number >::value)>::type boost::multiprecision::backends::eval_convert_to(R*, const boost::multiprecision::backends::cpp_int_backend&) [with R = boost::multiprecision::number, (boost::multiprecision::expression_template_option)0u>; unsigned int MinBits1 = 128u; unsigned int MaxBits1 = 128u; boost::multiprecision::cpp_integer_type SignType1 = (boost::multiprecision::cpp_integer_type)1u; boost::multiprecis
ion::cpp_int_check_type Checked1 = (boost::multiprecision::cpp_int_check_type)0u; Allocator1 = void; typename boost::enable_if_c<(boost::multiprecision::backends::is_trivial_cpp_int >::value && boost::multiprecision::is_signed_number >::value)>::type = void]?:
./boost/multiprecision/number.hpp:585:40: required from ?void boost::multiprecision::number::convert_to_imp(T*) const [with T = boost::multiprecision::number, (boost::multiprecision::expression_template_option)0u>; Backend = boost::multiprecision::backends::cpp_int_backend<128u, 128u, (boost::multiprecision::cpp_integer_type)1u, (boost::multiprecision::cpp_int_check_type)0u, void>; boost::multiprecision::expression_template_option ExpressionTemplates = (boost::multiprecision::expression_template_option)0u]?
./boost/multiprecision/number.hpp:601:29: required from ?T boost::multiprecision::number::convert_to() const [with T = boost::multiprecision::number, (boost::multiprecision::expression_template_option)0u>; Backend = boost::multiprecision::backends::cpp_int_backend<128u, 128u, (boost::multiprecision::cpp_integer_type)1u, (boost::multiprecision::cpp_int_check_type)0u, void>; boost::multiprecision::expression_template_option ExpressionTemplates = (boost::multiprecision::expression_template_option)0u]?
multiPrecisionTest.cpp:10:54: required from here
./boost/multiprecision/cpp_int/misc.hpp:533:138: error: no type named ?type? in ?struct boost::common_type, (boost::multiprecision::expression_template_option)0u>, __int128 unsigned>?
typedef typename common_type::local_limb_type>::type common_type;
^