Project

General

Profile

Actions

Feature #5692

open

switch to C99 standard flexible arrays instad of gcc-specific zero-length arrays

Added by laforge over 1 year ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
09/29/2022
Due date:
% Done:

0%

Spec Reference:

Description

Apparently, C99 has introduced flexible array members (see https://en.wikipedia.org/wiki/Flexible_array_member) while we still use the ancient, much older gcc specific syntax of [0] length arrays.

The main advantage of the flexible array approach are that the compiler allegedly ensures there are no struct members following the [] member.

No data to display

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)