Re: [PATCH v2] _Generic.3: New page documenting _Generic()

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

 



On 9/4/22 23:16, Alejandro Colomar wrote:
An always_inline function with no extern definition behaves as if it were a macro (trying to take a pointer to it, or something that needs a linker symbol, will result in linker errors, which is not the most readable error, but good enough), in the sense that it doesn't have ABI issues, but has the benefit of not creating code exponentially.


Although of course not being able to take pointers to it is a problem for libc. The macro with _Generic has the same issue. libc seems to need preprocessor #if.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux