summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/unused-3.yml
blob: b2d2bcb2dd72e52dd46fa086c5bd2a24e7949bff (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: interface-function
  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