News for hackers. Stuff that matters.
Re:Building the Linux kernel with clang by unwind on Thursday September 21, 2017 @09:34AM (#15303153)
It's weird. As far as I can tell, GCC's documentation[1] clearly states:

Flexible array members may only appear as the last member of a struct that is otherwise non-empty.

What is the article referring to, then?

1: https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gcc/Zero-Length.htm...

Re:Building the Linux kernel with clang by jwilk on Thursday September 21, 2017 @03:10PM (#15306458)
flexible array member ≠ variable-length array

See: https://news.ycombinator.com/item?id=15303211