tech-toolchain archive

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

Re: netbsd-11 gcc bug



> On May 26, 2026, at 7:52 AM, Jörg Sonnenberger <joerg%bec.de@localhost> wrote:
> 
> On 5/23/26 8:47 PM, Manuel Bouyer wrote:
>> I guess there's still variants of offsetof() around which uses this.
> 
> offsetof() follows somewhat different rules as it is explicitly an unevaluated context.

Sure, but some compilers also get upset with the classical definition of offsetof(), and the only way to really fix it is to use the compiler intrinsic.

-- thorpej



Home | Main Index | Thread Index | Old Index