[previous] 3672 [next] Using non-const pointer to function.
Functions

A function pointer is being declared or defined without "const" type qualification.

For example:


/*PRQA S 553,3210,3447,3602 ++*/

extern int (* const pf1)(void);         /* OK           */
extern int (*pf2)(void);                /* Message 3672 */


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