summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/if/zero-length-array.yml
blob: b82a2c5f2211d8799787e0b47af9afefbe0fc6ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  This constant represents the element count of a zero-length array.
copyrights:
- Copyright (C) 2014 embedded brains GmbH (http://www.embedded-brains.de)
definition:
  default: '0'
  variants:
  - definition: null
    enabled-by:
    - ${/compiler/if/stdc-version:/name} >= 199409L
description: |
  Zero-length arrays are valid in C99 as flexible array members.  C++11 does
  not allow flexible array members.  Use the GNU extension which is also
  supported by other compilers.
enabled-by: true
index-entries: []
interface-type: define
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
name: RTEMS_ZERO_LENGTH_ARRAY
notes: null
type: interface