Sujet : Re: Two questions on arrays with size defined by variables
De : jameskuyper (at) *nospam* alumni.caltech.edu (James Kuyper)
Groupes : comp.lang.cDate : 09. Feb 2025, 21:34:43
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vob3h5$qdjb$1@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
On 2/9/25 10:15, Andrey Tarasevich wrote:
...
Formally, if you want to declare local (automatic) VLAs, then the only
version of C standard with which you are completely okay is C99. Later
versions make things more problematic.
However, even with later versions, such code is OK so long as
__STDC_NO_VLA_ is not pre#defined by the implementation with a value of 1.