Thread (5 messages) 5 messages, 4 authors, 2020-03-09

Re: [PATCH][next] drm: Replace zero-length array with flexible-array member

From: Chris Wilson <hidden>
Date: 2020-02-25 15:04:43
Also in: dri-devel, intel-gfx, linux-arm-msm, lkml

Quoting Gustavo A. R. Silva (2020-02-25 14:03:47)
The current codebase makes use of the zero-length array language
extension to the C90 standard, but the preferred mechanism to declare
variable-length types such as these ones is a flexible array member[1][2],
introduced in C99:
I remember when gcc didn't support []. For the record, it appears
support for flexible arrays landed in gcc-3.0. So passes the minimum
compiler spec. That would be useful to mention for old farts with
forgetful memories.
-Chris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help