[previous] 2010 [next] The function '%s()' must not be called.
Functions

Use of this function has been prohibited by configuration of the -warncall (-WC) option. Any call to a function which has been quoted in a -warncall option, will cause message 2010 to be generated.

For example:


/*PRQA S 336,602,1307,2017,3132,3200,3209,3408,3602,3625 ++ */
/*********************************
 *
 * OPTIONS: -wc gets
 *
 ********************************/

#include <stdio.h>

extern void foo(void)
{
    char buf[20];

    gets(buf);                  /* Message 2010 */
}

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