Using array_length macro outside function

TAMUKI Shoichi tamuki@linet.gr.jp
Wed Feb 6 03:28:00 GMT 2019


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



More information about the Libc-alpha mailing list