![]() |
![]() |
4827 | ![]() |
||||
![]() | |||||||
| Annotations | |||||||
The message specifier in a suppression annotation may specify a range of messages. 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.
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.
Example:
// PRQA S MSG_1,100-200 ++ // ERROR: Annotation tag MSG_1 invalid in a continuous suppression.
See also:
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |