![]() |
![]() |
0449 | ![]() |
||||
![]() | |||||||
| Constraint violations | REFERENCE - ISO:C90-6.3.2.4 (Postfix), ISO:C90-6.3.3.1 (Prefix) Increment and Decrement Operators | ||||||
This is a constraint error A function pointer cannot be incremented or decremented. For example:
/*PRQA S 3408,3447,3672 ++*/
extern void (*fn_ptr)(void);
void foo (void)
{
++fn_ptr; /* Message 0449 */
}
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |