[previous] 0159 [next] [Q] The maximum number of errors set by -maxerr has been exceeded - the analysis has been aborted.
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.

QA·C 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.

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents