![]() |
![]() |
3620 | ![]() |
||||
![]() | |||||||
| Declarations and definitions | REFERENCE - ISO:C90-6.5.1 Storage-Class Specifiers | ||||||
The "register" storage-class specifier has been applied to the definition of an array, struct or union. This syntax is not always supported in pre-ISO compilers. For example:
/*PRQA S 2017,2213,2216,3132,3205,3408,3625 ++*/
struct ST {int a; int b;};
extern void foo(void)
{
register struct ST stx; /* Message 3620 and also 2711 */
}
See also:
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |