![]() |
![]() |
0159 | ![]() |
||||
![]() | |||||||
| QAC configuration | |||||||
Hard errors are errors which make it impossible for source code to be parsed. They arise either because the source code has incorrect syntax or because the analysis has not been appropriately configured. A frequent cause is incorrect or missing -I and -D options. Hard errors are always associated with Level 9 in the message configuration system. QAC is usually able to recover from a hard error by ignoring the current declaration or statement; the repercussions on the subsequent code analysis may be more or less severe. However, if a large number of hard errors are encountered, it may be pointless to continue. The "-maxerrors" option exists to control the maximum number of 'hard errors' which will be tolerated. The default value is 0 and under this setting, analysis will continue indefinitely, regardless of how many hard errors are encountered. If the "-maxerrors" option is set to a non-zero value and the number of hard errors exceeds this value, message 0159 will be generated and analysis will be aborted.
No MISRA C:2012 Rules applicable to message 0159
![]() | ||
| 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 |