[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:2004 Rules applicable to message 0676:

Rule  1.2  (Required) No reliance shall be placed on undefined or unspecified behaviour.


See also:

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