[previous] 0204 [next] [U] Field width of format conversion specifier exceeds 509 characters.
Explicitly undefined REFERENCE - ISO:C90-7.9.6.2 Formatted input/output functions

This format conversion specifier includes a field-width which exceeds 509 characters. A field width of this size will not be portable to all compilers.

For example:


/*PRQA S 336,602,1307,2017,3122,3200,3209,3227,3408,3602,3625 ++*/

#include <stdio.h>

extern void foo(void)
{
    int n;

    scanf("%509d\n", &n);                      /*              */
    scanf("%510d\n", &n);                      /* Message 0204 */
}

See also:

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