Opened 6 years ago

Last modified 6 years ago

#12239 new Bugs

Filesystem compiler error when using Clang 3.7 in Microsoft Windows

Reported by: JUAN DENT <juandent@…> Owned by: Beman Dawes
Milestone: To Be Determined Component: filesystem
Version: Boost 1.61.0 Severity: Problem
Keywords: Cc:

Description

Hi, I am getting the following error as I compile the filesystem source files:

'void cdecl boost::detail::atomic_increment(struct clang::_Atomic<int> * ptr64)': Unexpected atomic instruction -- use Windows interlock intrinsics

%6 = atomicrmw add i32* %4, i32 %5 monotonic, !dbg !9335

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:

An internal error has occurred in the compiler.

There is no error if I compile with the default Visual Studio 2015 Update 2 compiler

Regards, Juan

Change History (1)

comment:1 by John Maddock, 6 years ago

Component: Nonefilesystem
Owner: set to Beman Dawes
Note: See TracTickets for help on using tickets.