Boost logo

Boost :

Subject: Re: [boost] Boost issue or no?
From: Peter Dimov (lists_at_[hidden])
Date: 2018-04-26 10:28:29

Joshua Alexander wrote:
> Hi all,
> I am trying to build pCloudCC and not sure if this is a Boost issue or a
> pCloud issue:


> */usr/local/include/boost/smart_ptr/detail/local_counted_base.hpp:67:49:**error:**__builtin_assume*’
> was not declared in this scope
> __builtin_assume( local_use_count_ >= 1 );

It's a pCloud issue. pCloud defines __has_builtin(x) to 1 here:

which then makes Boost think that __builtin_assume is supported, and it
isn't. Similarly for __builtin_addressof.

Boost list run by bdawes at, gregod at, cpdaniel at, john at