[cfe-dev] How to disable built-in?

Dmitri Shubin sbn at tbricks.com
Fri May 31 00:47:01 PDT 2013


On 05/31/2013 12:40 AM, Francois Pichet wrote:
>
>
>
> On Tue, Apr 24, 2012 at 5:21 AM, Dmitri Shubin <sbn at tbricks.com 
> <mailto:sbn at tbricks.com>> wrote:
>
>
>     ...
>
>     error: definition of builtin function '__atomic_compare_exchange'
>     static inline int __atomic_compare_exchange(
>                        ^
>     1 error generated.
>
>     ...
>     Is there any way to disable this built-in?
>     '-fno-builtin' doesn't help.
>
>
>
> So what is the solution to this?

Well, I go the easy way and just renamed this function, but AFAIU this 
won't work in your case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130531/8b54d218/attachment.html>


More information about the cfe-dev mailing list