Boost C++ Libraries: Ticket #12239: Filesystem compiler error when using Clang 3.7 in Microsoft Windows https://svn.boost.org/trac10/ticket/12239 <p> Hi, I am getting the following error as I compile the filesystem source files: </p> <p> 'void <span class="underline">cdecl boost::detail::atomic_increment(struct </span>clang::_Atomic&lt;int&gt; * <span class="underline">ptr64)': Unexpected atomic instruction -- use Windows interlock intrinsics </span></p> <blockquote> <p> %6 = atomicrmw add i32* %4, i32 %5 monotonic, !dbg !9335 </p> </blockquote> <blockquote> <p> c:\users\juan_\documents\github\boost_1_61_0\boost_1_61_0\boost/smart_ptr/detail/sp_counted_base_clang.hpp(31): fatal error C1001: </p> </blockquote> <p> An internal error has occurred in the compiler. </p> <p> There is no error if I compile with the default Visual Studio 2015 Update 2 compiler </p> <p> Regards, Juan </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12239 Trac 1.4.3 John Maddock Sun, 05 Jun 2016 17:38:29 GMT component changed; owner set https://svn.boost.org/trac10/ticket/12239#comment:1 https://svn.boost.org/trac10/ticket/12239#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Beman Dawes</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">filesystem</span> </li> </ul> Ticket