![]() |
![]() |
4827 | ![]() |
||||
![]() | |||||||
| Annotations | |||||||
The message specifier in a suppression annotation may specify a range of messages.
For Example:
// PRQA S 100-200 // Messages from 100 to 200 (inclusive) will be suppressed
// PRQA S 100,200-300 // Message 100, and messages from 200 to 300 (inclusive) will be supppressed.
In time, it will also be possible to specify messages on the command
line, and these will be referred to in the suppression annotations
using their annotation tag.
For Example:
// PRQA S MSG_1 // MSG_1 defined externally and specified on the command line.
For continuous suppression annotations, the set of messages suppressed
is defined at compile time and so it is not possible to specify the
message range in a continuous suppression using an annotation tag from
the command line.
For Example:
// PRQA S MSG_1,100-200 ++ // ERROR: Annotation tag MSG_1 invalid in a continuous suppression.
No MISRA-C:2004 Rules applicable to message 4827
See also:
![]() | ||
| QA·C Source Code Analyser 8.1
MISRA-C:2004 Compliance Module 3.2 © 2012 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | MISRA-C:2004 Rule Index | Contents |