autoconf
[Top][All Lists]
Advanced

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

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


From: Zack Weinberg
Subject: Re: Is it safe to use ax_gcc_builtin to detect __builtin_offsetof?
Date: Sun, 25 Feb 2024 08:09:53 -0500
User-agent: Cyrus-JMAP/3.11.0-alpha0-153-g7e3bb84806-fm-20240215.007-g7e3bb848

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]