[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 */



No MISRA C:2012 Rules applicable to message 3672


QA·C Source Code Analyser 8.1
MISRA C:2012 Compliance Module 1.0
© 2012 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents