Re: C inlines that are also builtins.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Haley <aph@xxxxxxxxxx> writes:

> On 11/09/2015 12:57 PM, Sergey Organov wrote:
>> Is it a bug of feature? If the latter, what is the way for a library to
>> provide generic inline functions that might happen to be GCC builtins?
>
> -fno-builtin

Thanks, that's obvious, but the point is to create (library) headers
that will correctly compile with GCC even when no -fno-builtin is given.

The only way I currently see is to declare these function "static
inline", but that has it's own drawbacks.

So, once again, isn't it a bug in GCC?

-- Sergey.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux