Am Donnerstag, dem 13.03.2025 um 19:48 +0100 schrieb JeanHeyd Meneide:
> On Thu, Mar 13, 2025 Martin Uecker <uec...@tugraz.at> wrote:
> 
> 
...

>  Part of this problem is self-inflicted: VLAs in structures are
> a GNU extension and not an ISO C feature (for reasons like this one). 

Note that this has nothing to do with the GCC extension because
the exact same issue occurs for ordinary identifiers:

enun { N = 1 }
struct foo {
  char buf[N];
};

or constexpr in C23.



Martin

Reply via email to