[previous] 0616 [next] [C] Illegal combination of type specifiers or storage class specifiers.
Constraint violations REFERENCE - ISO:C90-6.5.1 Storage-Class Specifiers - Constraints, ISO:C90-6.5.2 Type Specifiers - Constraints

This is a constraint error

This declaration contains an invalid type specifier or storage-class specifier.

For example:


/*PRQA S 1027,2711,3205,3222,3223,3408,3447 ++*/


void foo(void)
{
    unsigned int          xa;
    unsigned unsigned int xb;        /* Message 0616 */
    long                  xc;
    long long             xd;
    long long long        xe;        /* Message 0616 */
    float                 xf;
    double                xg;
    long double           xh;
    long float            xi;        /* Message 0616 */


    static int            ya;
    static extern int     yb;        /* Message 0616 */
    typedef extern int    yc;        /* Message 0616 */
    static register int   yd;        /* Message 0616 */
}

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