Boost C++ Libraries: Ticket #12482: No longer builds without warnings on MAC OS X 10.11.6 after upgrade to Xcode with Clang 8.0 https://svn.boost.org/trac10/ticket/12482 <p> 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. </p> <pre class="wiki">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 &lt;atomic&gt; 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. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12482 Trac 1.4.3 sfkaney@… Mon, 26 Sep 2016 03:07:47 GMT cc set https://svn.boost.org/trac10/ticket/12482#comment:1 https://svn.boost.org/trac10/ticket/12482#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">sfkaney@…</span> added </li> </ul> Ticket anonymous Tue, 11 Oct 2016 04:48:58 GMT <link>https://svn.boost.org/trac10/ticket/12482#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12482#comment:2</guid> <description> <p> Using a deprecated API is not an error. Your compiler settings are simply too strict for now. </p> <p> it needs to be addressed, for sure, but the immediate issue is your problem - not a "showstopper" </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 11 Oct 2016 13:36:17 GMT</pubDate> <title>type, severity, summary changed https://svn.boost.org/trac10/ticket/12482#comment:3 https://svn.boost.org/trac10/ticket/12482#comment:3 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Tasks</span> </li> <li><strong>severity</strong> <span class="trac-field-old">Showstopper</span> → <span class="trac-field-new">Problem</span> </li> <li><strong>summary</strong> <span class="trac-field-old">No longer builds on MAC OS X 10.11.6 after upgrade to Xcode with Clang 8.0</span> → <span class="trac-field-new">No longer builds without warnings on MAC OS X 10.11.6 after upgrade to Xcode with Clang 8.0</span> </li> </ul> Ticket Kohei Takahashi Fri, 18 Nov 2016 10:39:33 GMT component changed; owner set https://svn.boost.org/trac10/ticket/12482#comment:4 https://svn.boost.org/trac10/ticket/12482#comment:4 <ul> <li><strong>owner</strong> set to <span class="trac-author">chris_kohlhoff</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">asio</span> </li> </ul> Ticket