[previous] 0177 [next] [U] Field width of format conversion specifier exceeds 509 characters.
Explicitly undefined REFERENCE - ISO:C90-7.9.6.1 Environmental limit

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(int n)
{
    printf("%509d\n", n);                      /*              */
    printf("%510d\n", n);                      /* Message 0177 */
}

See also:

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