[previous] 0869 [next] [Q] '#error' directive: %s Analysis terminated due to '#error' directive.
QAC configuration

QAC terminates analysis on encountering a #error directive. This is deliberately done to highlight the fact that preprocessing of this source file will be terminated by any ISO compliant C compiler. Hence QAC conforms to the normal use of #error i.e. indicating that a problem prevents the intended compilation of the file.


#ifndef MYMACRO
#error *** MYMACRO has not been defined ***        /* Message 0869 */
#endif


No MISRA-C:2004 Rules applicable to message 0869


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