[previous] 0435 [next] [C] The 'struct'/'union' member '%s' does not exist.
Constraint violations REFERENCE - ISO:C90-6.3.2.3 Structure and union members

This is a constraint error

You are referencing a non-existent member of a struct or a union. QA·C has assumed that it is declared with default type int.


/*PRQA S 2213,2216,3120,3408,3447 ++ */

struct ST {int a; int b;};

extern struct ST stx;

void foo(void)
{
    stx.a = 1;
    stx.b = 2;
    stx.c = 3;                  /* Message 0435 */
}

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents