[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -Wvla vs dcnpgettext_expr's VLA decl
From: |
Jim Meyering |
Subject: |
Re: -Wvla vs dcnpgettext_expr's VLA decl |
Date: |
Sun, 04 Dec 2011 14:17:06 +0100 |
Simon Josefsson wrote:
> Jim Meyering <address@hidden> writes:
>
>> I can live with the status quo, but it would make -Wvla more useful
>> not to put such constructs in commonly-included header files.
>
> FWIW, I find these definitions from gettext.h are rarely needed, so
> unless you really need them, considering doing something like this:
>
> http://git.savannah.gnu.org/cgit/libidn.git/tree/gl/override/lib/gettext.h.diff
Good idea. Thanks.
That works for coreutils and lets me reenable -Wvla.