[Gc] [bdwgc] 7.2alpha6 fails to compile with clang (#14)

Hans Aberg haberg-1 at telia.com
Sun Mar 4 09:02:29 PST 2012


On 4 Mar 2012, at 15:44, Ivan Maidanski wrote:

> The problem is some libatomic_ops assembly intrinsic (the test passes if I specify AO_USE_PTHREAD_DEFS).

I'm not sure how it relates to your issue, but at least on OS X 10.7, clang++ does not support C++11 atomic operations; gcc 4.7 does, but not earlier version. Though gcc 4.6 has an <atomic> header, it is not function on this platform.

Hans





More information about the Gc mailing list