Level 9: Errors

QAC configuration

MessageMessage Text
0009 [Q] The length of this preprocessed source code line has exceeded the size of an internal buffer.
0040 [Q] Definition of size_t differs from configured type.
0041 [Q] Definition of ptrdiff_t differs from configured type.
0042 [Q] Definition of wchar_t differs from configured type.
0159 [Q] The maximum number of errors set by -maxerr has been exceeded - the analysis has been aborted.
0473 [Q] Result of 'sizeof' operation will not fit in configured type for 'size_t'.
0808 [Q] '#include "%s"' causes itself to be included recursively. QA·C terminates execution after 8 occurrences.
0818 [Q] Cannot find '%s' - Perhaps the appropriate search path was not given ?
0819 [Q] Cannot open '%s' - Perhaps the appropriate search path was not given ?
0822 [Q] Cannot find forceinclude file '%s'.
0869 [Q] '#error' directive: %s Analysis terminated due to '#error' directive.
0918 [Q] Source too complex. Please report this problem to Programming Research Technical Support.
0970 [Q] Unable to create preprocessed file.
4100 Illegal user error number msg

Syntax errors

MessageMessage Text
0231 [S] Character constant contains an invalid hex escape sequence.
0234 [S] String literal contains an invalid hex escape sequence.
0245 [S] Empty character constant.
0249 [S] Character constant contains a new-line character.
0250 [S] Character constant contains a single backslash character.
0251 [S] Character constant contains a trigraph representation of a single backslash character.
0257 [S] String literal is not terminated. A trigraph has been used in the construction of an escape sequence.
0258 [S] String literal is not terminated. A backslash character has been used to define an escape sequence.
0259 [S] String literal is not terminated.
0268 [S] Comment open at end of translation unit.
0269 [S] Unexpected end of file.
0434 [S] The identifier '%s' has not been declared.
0637 [S] Storage class specifier is illegal on 'struct' or 'union' member.
0648 [S] Unexpected '{' encountered at file scope.
0666 [S] Only type qualifiers 'const' or 'volatile' are legal here in a pointer declaration.
0670 [S] Function defined with invalid function header syntax.
0805 [S] Invalid identifier encountered in macro parameter list.
0806 [S] Comma missing in macro parameter list.
0807 [S] Identifier missing in macro parameter list.
0817 [S] Closing quote or bracket '>' missing from include filename.
0820 [S] '#include' requires a header name.
0823 [S] Unexpected '#else' or '#elif' directive follows '#else'.
0824 [S] Unexpected '#else' or '#elif' directive found outside a '#if' block.
0825 [S] Unexpected '#endif' found outside a '#if' block.
0826 [S] Unexpected ':' found without a preceding '?' in a '#if' or '#elif' expression.
0827 [S] Missing ':' after '?' in a '#if' or '#elif' expression.
0829 [S] Could not find '#endif' preprocessing directive to close '#if...'.
0833 [S] '#ifdef' or '#ifndef' must be followed by an identifier.
0846 [S] '#define' must be followed by an identifier.
0847 [S] '#undef' must be followed by an identifier.
0849 [S] Preprocessing directive appears in the middle of a line.
0863 [S] '#line' encountered without a following line number.
0879 [S] Illegal operator in '#if' or '#elif' expression.
0886 [S] Missing or invalid expression in '#if' or '#elif' directive.
0896 [S] Missing operand in '#if' or '#elif' expression.
0897 [S] Missing operator in '#if' or '#elif' expression.
0898 [S] Unexpected ')' or ':' in '#if' or '#elif' expression.
0904 [S] Invalid designator.
0907 [S] Unexpected token.
0917 [S] Unable to recover from syntax errors in this source file.
0925 [S] Unexpected end of file.
0926 [S] Expected:%s.
0927 [S] Unexpected ')'.
0928 [S] Missing comma ',' between enumerators.
1004 [S] '#endasm' found without matching '#asm' preprocessing directive.
1005 [S] End-of-file encountered when expecting '#%s' preprocessing directive.
1009 [S] Unrecognizable expression in '#if' preprocessing directive.
1010 [S] '#%s' is not a valid form of '#if' syntax .
1013 [S] Use of a C++ reference type ('type &').
3104 [S] #pragma '%s' has invalid arguments and has been ignored.
3105 [S] A #pragma block has not been closed with a #pragma '%s'.
3107 [S] A #pragma '%s' has been found without a matching #pragma block start directive.

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