News for hackers. Stuff that matters.
Re:Porting to GCC 14: C language issues by fractalb on Monday February 19, 2024 @10:48AM (#39431040)
VLA support is mandatory in C23? I'd like to know the rationale behind this decision. Can you provide any references? Thanks.
Re:Porting to GCC 14: C language issues by veltas on Monday February 19, 2024 @01:19PM (#39432933)
If I understand right, this is mandatory:

  void example(int n) { printf("%zu", sizeof(int[n])); }
  void example2(int n, int (*a)[n]) { }
This is optional:

  void example3(int n) { int x[n]; }