[previous] 4812 [next] 'tag' not allowed here.
Annotations

Continuous suppressions are a special type of annotation that affect all files in a translation unit. A continuous suppression annotation adds or removes messages from the current set of continuous suppressions for the current file.

As the annotation affects all files and translation units, it is not possible to specify an individual annotation tag for this kind of suppression annotation.

For example:

// PRQA S:S1 100 ++               // ERROR: Cannot add annotation tag with continuous suppression

int i ;

// PRQA S 100 --

If an annotation tag is required, then a range suppression annotation should be used.

For example:

// PRQA S:S1 100 END               // OK


int i ;

// PRQA L:END


No MISRA-C:2004 Rules applicable to message 4812


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