summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/unused-3.yml
blob: 58f768adc352ebcb275455033654d34b6b6147a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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: requirement-refinement
  uid: ../if/unused
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/unused:/name} macro is attached to a variable definition,
  the ${../if/unused:/name} macro shall prevent the compiler from emitting
  a warning if this variable is not used.
type: requirement