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

Ivan Maidanski ivmai at mail.ru
Sun Mar 4 09:39:54 PST 2012


Hi Hans A.,

04 03 2012, 21:36 Hans Aberg <haberg-1 at telia.com>:
> On 4 Mar 2012, at 18:11, 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.
> >
> > This is irrelevant.
> 
> Anyway, if it is really clang 1.1, it is from 2003, and I did not see it using clang 3.1.

Thank you for pointing me to the version - I'm not sure whether it is 1.1 or 3.1 (I'll check tomorrow) but this clang version is the recent in Ubuntu.

Regards.

> 
> Hans
> 
> 



More information about the Gc mailing list