[previous] 1005 [next] [S] End-of-file encountered when expecting '#%s' preprocessing directive.
Syntax errors

End of file has been encountered in the translation unit when the preprocessor is still expecting closure of a #if/#ifdef/#ifndef block with #endif directive or a #asm block with #endasm. For example:


/*PRQA S 830 ++*/

#ifdef MACRO                   /* Message 1005 and also 0269 */


No MISRA C:2012 Rules applicable to message 1005


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