[previous] 0676 [next] [u] Array element is of function type. Arrays cannot be constructed from function types.
Implicitly undefined REFERENCE - ISO:C90-6.1.2.5 Types

This type describes an array of functions. This is meaningless.

For example:


/*PRQA S 2017,3211,3132,3408,3672 ++*/

int af1[10](void);                   /* Message 0676 */
int (*af2[10])(void);                /* OK. Array of pointers to functions */


MISRA C:2012 Rules applicable to message 0676:

Rule-1.3  (Required) There shall be no occurrence of undefined or critical unspecified behaviour


See also:

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