[previous] 1008 [next] [E] '#%s' is not a legal ISO C preprocessing directive.
Language extensions REFERENCE - ISO:C90-6.8 Preprocessing Directives - Syntax

This is not a recognized preprocessing directive. QAC will ignore it and assume that it is a language extension

N.B. Message 1008 will only be generated when at least one of the following language extension options is enabled: If none of these options is enabled, message 0899 will be generated instead.

For example:


/*PRQA S 553,2017 ++*/
/**********************************
 * OPTIONS: -ex all
 *********************************/

#unknown                                /* Message 1008 */


MISRA C:2012 Rules applicable to message 1008:

Rule-1.2  (Advisory) Language extensions should not be used


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