summaryrefslogtreecommitdiffstats
path: root/spec/if/rtems/basedefs/zero-length-array.yml
blob: bbc874ee8b33bf1e57207ea788388c381e51f0e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  This is a constant to declare zero-length arrays.
copyrights:
- Copyright (C) 2014 embedded brains GmbH (http://www.embedded-brains.de)
definition:
  default: '0'
  variants: []
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
interface-type: define
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
name: RTEMS_ZERO_LENGTH_ARRAY
notes: null
type: interface