[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: Bruno Haible
Subject: Re: [PATCH] stddef: support C11's max_align_t
Date: Fri, 26 Dec 2014 00:36:26 +0100
User-agent: KMail/4.8.5 (Linux/3.2.0-64-generic; KDE/4.8.5; x86_64; ; )

Hi Paul,

On 2014-12-12 you wrote:

> +/* Some platforms lack max_align_t.  */
> +#if address@hidden@
> +typedef union
> +{
> +  char *__p;
> +  double __d;
> +  long double __ld;
> +  long int __i;
> +} max_align_t;
> +#endif

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.


reply via email to

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