On May 31, 2013, at 12:04 PM, Ed Schouten <[email protected]> wrote:
> 2013/5/31 Rafael Espíndola <[email protected]>:
>> With this the user would get an undefined reference instead of a
>> compiler error, no?
> 
> Well, yes/no. The __atomic_fetch_* functions can only be applied to
> integer types. Poorly constructed example:

Addition and subtraction can be applied to e.g. _Atomic(int*).

John.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to