Subject: [Boost-bugs] [Boost C++ Libraries] #12482: No longer builds on MAC OS X 10.11.6 after upgrade to Xcode with Clang 8.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-09-26 03:02:56
#12482: No longer builds on MAC OS X 10.11.6 after upgrade to Xcode with Clang 8.0
----------------------------+--------------------------
Reporter: anonymous | Type: Bugs
Status: new | Milestone: Boost 1.61.0
Component: Building Boost | Version: Boost 1.61.0
Severity: Showstopper | Keywords:
----------------------------+--------------------------
After an update to Xcode (version 8) on OS X 10.11.6 I found that my
projects won't build due to 'OSMemoryBarrier being deprecated. I tried to
rebuild the library with the new tools and found that it won't build
either due to the same error.
{{{
In file included from
/usr/local/include/boost/asio/detail/fenced_block.hpp:24:
/usr/local/include/boost/asio/detail/macos_fenced_block.hpp:51:5: warning:
'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use
std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-
declarations]
OSMemoryBarrier();
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9:
note: 'OSMemoryBarrier' has been explicitly marked deprecated here
void OSMemoryBarrier( void );
^
2 warnings generated.
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12482> 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 : 2017-02-16 18:50:20 UTC