![]() |
![]() |
0514 | ![]() |
||||
![]() | |||||||
| Constraint violations | REFERENCE - ISO:C90-6.3.8 Relational Operators - Constraints | ||||||
This is a constraint error A relational operator is being used to compare an operand which points to an object or incomplete type with an operand which is not a pointer to object or incomplete type. A relational operator can only be used when:
/*PRQA S 490,3120,3227,3408,3602,3625 ++*/
int *pi;
void foo(unsigned long un)
{
if (pi < un) /* Message 0514 */
{
}
if (pi >= 0x8F00U) /* Message 0514 */
{
}
}
See also:
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |