[previous] 4827 [next] Tag name is not allowed in the message specification of continuous suppression annotation.
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:2012 Rules applicable to message 4827


See also:

QA·C Source Code Analyser 8.1
MISRA C:2012 Compliance Module 1.0
© 2012 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents