summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/packed-2.yml
blob: 24bcf5d987b6d154cb2f2c1bdc576f98b31b1622 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SPDX-License-Identifier: CC-BY-SA-4.0
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
links:
- role: interface-function
  uid: ../if/packed
non-functional-type: interface
rationale: null
references: []
requirement-type: non-functional
text: |
  When the code is compiled with the GNU C compiler,
  and the ${../if/packed:/name} macro is attached to a
  enum type definition,
  the ${../if/packed:/name} macro shall cause the use of the smallest integral
  type to represent the values of the enum.
type: requirement