[previous] 0637 [next] [S] Storage class specifier is illegal on 'struct' or 'union' member.
Syntax errors REFERENCE - ISO:C90-6.5.2.1 Structure and Union Specifiers - Syntax

A storage-class specifier can be applied to objects of struct or union type but not to individual members in the declaration of a struct or union type. For example:


/*PRQA S 553,2017 ++*/
struct record
{
   extern int field;                         /* Message 0637 */
};


No MISRA C:2012 Rules applicable to message 0637


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