![]() |
![]() |
3663 | ![]() |
||||
![]() | |||||||
| Arrays, structures, unions and bit-fields | REFERENCE - ISO:C90-6.5.2.1 Structure and Union Specifiers - Semantics | ||||||
An unnamed bit-field has been defined with a non-zero width. Message 3663 is only generated once for any struct/union definition. For example:
/*PRQA S 553,2017,3131,3621 ++*/
struct ST1 /* Message 3663 */
{
unsigned int a:5;
unsigned int :2;
unsigned int b:6;
};
struct ST2 /* Message 3663 */
{
unsigned int a:2;
unsigned int :1;
unsigned int b:3;
};
struct ST3 /* */
{
unsigned int a:5;
unsigned int :0;
unsigned int b:6;
};
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |