[Top][All Lists]

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

Re: [PATCH] stddef: support C11's max_align_t

From: Paul Eggert
Subject: Re: [PATCH] stddef: support C11's max_align_t
Date: Thu, 25 Dec 2014 15:52:32 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Bruno Haible wrote:
How about adding a member
   long long int __li;
to this union? Not that it would make a difference on the existing
architectures, but it may be more future-proof.

I thought about that, but my kneejerk reaction was that the likelihood that a new architecture would come in without C11 support was low enough (and declining) that it didn't seem worth the trouble of adding a dependency on the longlong module.

But perhaps I'm underestimating how long Microsoft will take -- is that the main worry here? If so, how about throwing ptrdiff_t and size_t into the mix instead? That should catch the 64-bit Microsoft Windows platforms, without adding a dependency.

reply via email to

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