bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'static' in array-size func parm


From: Thien-Thi Nguyen
Subject: Re: 'static' in array-size func parm
Date: Fri, 08 Aug 2014 10:36:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

() Paul Eggert <address@hidden>
() Fri, 08 Aug 2014 00:57:37 -0700

   "Partially" because the vararrays module merely defines
   __STDC_NO_VLA__ a la C11.  The new module would define
   VLA_ELEMS, which would be the rest of the job that gnulib
   could reasonably do.

IIUC, as it is proposed, RCS would still have to do that test
and then re-‘#define VLA_ELEMS’:

 #if BUGGY
 #undef VLA_ELEMS
 #define VLA_ELEMS(x)
 #endif

I think it would be more useful to expand the scope of module
‘vla’ to do the configure-time test, too, such that RCS can
simply include it and use ‘VLA_ELEMS’ unconditionally.  Buggy
compiler workarounds are under gnulib purview, after all, right?

-- 
Thien-Thi Nguyen
   GPG key: 4C807502
   (if you're human and you know it)
      read my lisp: (responsep (questions 'technical)
                               (not (via 'mailing-list)))
                     => nil

Attachment: signature.asc
Description: PGP signature


reply via email to

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