[Boost-bugs] [Boost C++ Libraries] #13538: Issue in addressof.hpp?

Subject: [Boost-bugs] [Boost C++ Libraries] #13538: Issue in addressof.hpp?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-04-25 01:19:18


#13538: Issue in addressof.hpp?
-----------------------------------+---------------------
 Reporter: Josh <egomagickian@…> | Owner: (none)
     Type: Support Requests | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost 1.67.0 | Severity: Problem
 Keywords: |
-----------------------------------+---------------------
 I'm trying to build pCloudCC and not sure if this is a Boost problem or a
 pCloud problem:

 [ 40%] Building CXX object CMakeFiles/pcloudcc_lib.dir/pclsync_lib.cpp.o
 In file included from /root/build/console-client-
 master/pCloudCC/pclsync_lib.cpp:30:0:
 /root/build/console-client-master/pCloudCC/lib/pclsync/pcompat.h:95:0:
 warning:"_GNU_SOURCE" redefined [enabled by default]
  #define _GNU_SOURCE
  ^
 <command-line>:0:0: note: this is the location of the previous definition
 In file included from
 /usr/local/include/boost/smart_ptr/detail/local_sp_deleter.hpp:20:0,
                  from
 /usr/local/include/boost/smart_ptr/shared_ptr.hpp:1158,
                  from /usr/local/include/boost/shared_ptr.hpp:17,
                  from /root/build/console-client-
 master/pCloudCC/pclsync_lib.cpp:45:
 /usr/local/include/boost/smart_ptr/detail/local_counted_base.hpp: In
 member function ‘void boost::detail::local_counted_base::add_ref()’:
 /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 );
                                                  ^
 In file included from
 /usr/local/include/boost/smart_ptr/detail/sp_counted_impl.hpp:29:0,
                  from
 /usr/local/include/boost/smart_ptr/detail/shared_count.hpp:30,
                  from
 /usr/local/include/boost/smart_ptr/shared_ptr.hpp:28,
                  from /usr/local/include/boost/shared_ptr.hpp:17,
                  from /root/build/console-client-
 master/pCloudCC/pclsync_lib.cpp:45:
 /usr/local/include/boost/core/addressof.hpp: In instantiation of ‘T*
 boost::addressof(T&) [with T = int (*)(_IO_FILE*)]’:
 /usr/local/include/boost/smart_ptr/detail/sp_counted_impl.hpp:182:98:
 required from ‘void* boost::detail::sp_counted_impl_pd<P,
 D>::get_local_deleter(const sp_typeinfo&) [with P = _IO_FILE*; D = int
 (*)(_IO_FILE*); boost::detail::sp_typeinfo = std::type_info]’
 /root/build/console-client-master/pCloudCC/pclsync_lib.cpp:304:1:
 required from here
 /usr/local/include/boost/core/addressof.hpp:40:33: error:
 â€˜__builtin_addressof’ was not declared in this scope
      return __builtin_addressof(o);

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13538>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2018-04-25 01:27:03 UTC