This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using array_length macro outside function


Hello Florian-san,

From: Florian Weimer <fweimer@redhat.com>
Subject: Re: Using array_length macro outside function
Date: Tue, 05 Feb 2019 13:29:08 +0100

> > You can use _Static_assert inside a struct; you don't need to do things 
> > with bit-field sizes.
> 
> That's certainly nicer.  Please consider the patch below.

Looks good to me.  Applying the revised patch, I have also confirmed
that the test can be compiled successfully.

Tested-by: TAMUKI Shoichi <tamuki@linet.gr.jp>

Regards,
TAMUKI Shoichi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]