On 16 Nov 2016 10:04 am, "Marshall Clow" <mclow.li...@gmail.com> wrote:

mclow.lists added a comment.

Ok - looking just at `kill_dependency`, this was added to the C standard in
C11. It's required to be a macro.
`atomic_is_lock_free` appears to be a function, as does `atomic_load`.
Haven't checked the rest.


That's a bug in C11; these are nearly all required to be macros. See
http://www.open-std.org/jtc1/sc22/wg14/www/docs/summary.htm#dr_419

I see that Bionic (sometimes) defines `atomic_is_lock_free` as a macro.


https://reviews.llvm.org/D26376
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to