Using array_length macro outside function
TAMUKI Shoichi
tamuki@linet.gr.jp
Tue Feb 5 06:17:00 GMT 2019
Hello Florian-san,
From: Florian Weimer <fweimer@redhat.com>
Subject: Re: Using array_length macro outside function
Date: Mon, 04 Feb 2019 15:34:09 +0100
> The other problem is that array_length (locales) is not a constant
> expression because a statement expression is never a constant
> expression. I had not considered these problems when I wrote the
> array_length macro.
>
> I would like to retain the verification that the macro argument is not a
> pointer. What do you think about the patch below?
Thank you. Applying your patch, I have confirmed that the test can be
compiled successfully.
Regards,
TAMUKI Shoichi
More information about the Libc-alpha
mailing list