diff options
Diffstat (limited to 'spec/rtems/basedefs/req/unused-2.yml')
-rw-r--r-- | spec/rtems/basedefs/req/unused-2.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/rtems/basedefs/req/unused-2.yml b/spec/rtems/basedefs/req/unused-2.yml new file mode 100644 index 00000000..1172d2bc --- /dev/null +++ b/spec/rtems/basedefs/req/unused-2.yml @@ -0,0 +1,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: 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 type + (including a union or a struct), + the ${../if/unused:/name} macro shall prevent the compiler from emitting + a warning if variables of this type are not used. +type: requirement |