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:
struct foo {
int stuff;
struct boo array[];
};
By
On 2/24/20 10:30, Lee Duncan wrote:
> On 2/24/20 8:14 AM, Gustavo A. R. Silva wrote:
>> 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
Reviewed-by: Satish Kharat
From: Gustavo A. R. Silva
Sent: Monday, February 24, 2020 8:42 AM
To: Lee Duncan ; Satish Kharat (satishkh)
; Sesidhar Baddela (sebaddel) ; Karan
Tilak Kumar (kartilak) ; James E.J. Bottomley
; Martin K. Petersen ; Brian
King ;
Hi All:
Just a heads up (for those that don't hang out on github) that I'm tagging
version 2.1.1 of open-iscsi today, if there are no objections.
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To unsubscribe from this group and stop receiving
Hi!
Personally I think variable-sized structures are a bad thing, independent of
the syntax being used.
30 years ago saving one indirection would have been an argument for such
structures, but nowadays?
Regards,
Ulrich
>>> "Gustavo A. R. Silva" schrieb am 24.02.2020 um
>>> 17:14
in