diff options
Diffstat (limited to 'spec/rtems/basedefs/req/unused-3.yml')
-rw-r--r-- | spec/rtems/basedefs/req/unused-3.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/rtems/basedefs/req/unused-3.yml b/spec/rtems/basedefs/req/unused-3.yml new file mode 100644 index 00000000..58f768ad --- /dev/null +++ b/spec/rtems/basedefs/req/unused-3.yml @@ -0,0 +1,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 |