[previous] 1015 [next] [E] '%s' is not a legal keyword in ISO C - this will be treated as a language extension.
Language extensions

A number of keywords which are extensions to the C language are parsed and ignored by QA·C providing the appropriate language extension option is enabled. Message 1015 is generated to identify instances of these keywords.

If the -ex PC option is enabled the following keywords are recognized:

If the -ex ANSIPC option is enabled the following keywords are recognized:

For example:


/*PRQA S 2017,3211,3219,3408,3450 ++*/
/**********************************
 * OPTIONS: -ex PC -ex ANSIPC
 *********************************/


extern void pascal f001(void)              /* Message 1015 */
{
    return;
}

__pascal void  f002(void)                  /* Message 1015 */
{
    return;
}

void fortran f003(void)                    /* Message 1015 */
{
    return;
}

__fortran void  f004(void)                 /* Message 1015 */
{
    return;
}

static void cdecl f005(void)               /* Message 1015 */
{
    return;
}

__cdecl void  f006(void)                   /* Message 1015 */
{
    return;
}


near int * p1;                             /* Message 1015 */
__near int * p2;                           /* Message 1015 */

far int *  p3;                             /* Message 1015 */
__far int *  p4;                           /* Message 1015 */

huge int * p5;                             /* Message 1015 */
__huge int * p6;                           /* Message 1015 */


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