Re: Is it safe to use ax_gcc_builtin to detect __builtin_offsetof?

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

 



On Sun, Feb 25, 2024, at 2:09 AM, Jeffrey Walton wrote:
>
> Is it safe to use ax_gcc_builtin to detect __builtin_offsetof?

Why do you need to do that? What's wrong with including stddef.h and then using plain offsetof? It's part of C1989.

Not a rhetorical question, I really would like to know how this came up.

zw




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux