Re: Is it safe to use ax_gcc_builtin to detect __builtin_offsetof?
"Zack Weinberg" <[email protected]> Sun, 25 Feb 2024 08:09:53 -0500
| Newsgroups | gmane.comp.sysutils.autoconf.general |
|---|---|
| Message-ID | <[email protected]> |
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