Snippets for cunit-original 2.1.3 from Fedora ppc64le
Sourced from https://kojipkgs.fedoraproject.org/packages/CUnit/2.1.3/38.fc45/data/logs/ppc64le/build.log.
-
TestRun.c:614:29: warning: field width specifier '*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ~^~ | | | int -
TestRun.c:614:32: warning: field width specifier '*' expects argument of type 'int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ~^~ | | | int -
TestRun.c:614:35: warning: field width specifier '*' expects argument of type 'int', but argument 8 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ~^~ | | | int -
TestRun.c:614:38: warning: field width specifier '*' expects argument of type 'int', but argument 10 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ~^~ | | | int -
TestRun.c:614:41: warning: field width specifier '*' expects argument of type 'int', but argument 12 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ~^~ | | | int -
TestRun.c:614:44: warning: field width specifier '*' expects argument of type 'int', but argument 14 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ~^~ | | | int -
TestRun.c:614:47: warning: field width specifier '*' expects argument of type 'int', but argument 16 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ~^~ | | | int -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 18 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 20 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 22 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 24 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 26 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 28 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 30 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 32 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 34 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 36 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 38 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 40 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 42 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 44 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 46 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 48 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 50 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 52 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 54 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 56 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 58 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 60 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:614:27: warning: field width specifier '*' expects argument of type 'int', but argument 63 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestRun.c:965:16: warning: variable 'result' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 965 | CU_ErrorCode result = CUE_SUCCESS; | ^~~~~~ -
Console.c:504:23: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 504 | fprintf(stdout, "\n%*s %-*s%*s%*s%*s%*s\n", | ~^~ | | | int 505 | width[0], _("#"), | ~~~~~~~~ | | | size_t {aka long unsigned int} -
Console.c:504:29: warning: field width specifier '*' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 504 | fprintf(stdout, "\n%*s %-*s%*s%*s%*s%*s\n", | ~~^~ | | | int 505 | width[0], _("#"), 506 | width[1], _("Suite Name"), | ~~~~~~~~ | | | size_t {aka long unsigned int} -
Console.c:504:32: warning: field width specifier '*' expects argument of type 'int', but argument 7 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 504 | fprintf(stdout, "\n%*s %-*s%*s%*s%*s%*s\n", | ~^~ | | | int -
Console.c:504:35: warning: field width specifier '*' expects argument of type 'int', but argument 9 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 504 | fprintf(stdout, "\n%*s %-*s%*s%*s%*s%*s\n", | ~^~ | | | int -
Console.c:504:38: warning: field width specifier '*' expects argument of type 'int', but argument 11 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 504 | fprintf(stdout, "\n%*s %-*s%*s%*s%*s%*s\n", | ~^~ | | | int -
Console.c:504:41: warning: field width specifier '*' expects argument of type 'int', but argument 13 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 504 | fprintf(stdout, "\n%*s %-*s%*s%*s%*s%*s\n", | ~^~ | | | int -
Console.c:514:25: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 514 | fprintf(stdout, "\n%*d. %-*.*s%*s%*s%*u%*s", | ~^~ | | | int 515 | width[0], i, | ~~~~~~~~ | | | size_t {aka long unsigned int} -
Console.c:514:31: warning: field width specifier '*' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 514 | fprintf(stdout, "\n%*d. %-*.*s%*s%*s%*u%*s", | ~~^~~~ | | | int 515 | width[0], i, 516 | width[1], width[1] - 1, pCurSuite->pName, | ~~~~~~~~ | | | size_t {aka long unsigned int} -
Console.c:514:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 514 | fprintf(stdout, "\n%*d. %-*.*s%*s%*s%*u%*s", | ~~~~^~ | | | int 515 | width[0], i, 516 | width[1], width[1] - 1, pCurSuite->pName, | ~~~~~~~~~~~~ | | | size_t {aka long unsigned int} -
Console.c:514:36: warning: field width specifier '*' expects argument of type 'int', but argument 8 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 514 | fprintf(stdout, "\n%*d. %-*.*s%*s%*s%*u%*s", | ~^~ | | | int -
Console.c:514:39: warning: field width specifier '*' expects argument of type 'int', but argument 10 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 514 | fprintf(stdout, "\n%*d. %-*.*s%*s%*s%*u%*s", | ~^~ | | | int -
Console.c:514:42: warning: field width specifier '*' expects argument of type 'int', but argument 12 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 514 | fprintf(stdout, "\n%*d. %-*.*s%*s%*s%*u%*s", | ~^~ | | | int -
Console.c:514:45: warning: field width specifier '*' expects argument of type 'int', but argument 14 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 514 | fprintf(stdout, "\n%*d. %-*.*s%*s%*s%*u%*s", | ~^~ | | | int -
Console.c:560:23: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 560 | fprintf(stdout, "\n%*s %-*s%*s\n", | ~^~ | | | int 561 | width[0], _("#"), | ~~~~~~~~ | | | size_t {aka long unsigned int} -
Console.c:560:29: warning: field width specifier '*' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 560 | fprintf(stdout, "\n%*s %-*s%*s\n", | ~~^~ | | | int 561 | width[0], _("#"), 562 | width[1], _("Test Name"), | ~~~~~~~~ | | | size_t {aka long unsigned int} -
Console.c:560:32: warning: field width specifier '*' expects argument of type 'int', but argument 7 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 560 | fprintf(stdout, "\n%*s %-*s%*s\n", | ~^~ | | | int -
Console.c:569:25: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 569 | fprintf(stdout, "\n%*u. %-*.*s%*s", | ~^~ | | | int 570 | width[0], uiCount, | ~~~~~~~~ | | | size_t {aka long unsigned int} -
Console.c:569:31: warning: field width specifier '*' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 569 | fprintf(stdout, "\n%*u. %-*.*s%*s", | ~~^~~~ | | | int 570 | width[0], uiCount, 571 | width[1], width[1]-1, pCurTest->pName, | ~~~~~~~~ | | | size_t {aka long unsigned int} -
Console.c:569:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 569 | fprintf(stdout, "\n%*u. %-*.*s%*s", | ~~~~^~ | | | int 570 | width[0], uiCount, 571 | width[1], width[1]-1, pCurTest->pName, | ~~~~~~~~~~ | | | size_t {aka long unsigned int} -
Console.c:569:36: warning: field width specifier '*' expects argument of type 'int', but argument 8 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 569 | fprintf(stdout, "\n%*u. %-*.*s%*s", | ~^~ | | | int -
Console.c:167:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 167 | fgets(szTemp, 256, stdin); /* flush any chars out of the read buffer */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
Console.c:246:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 246 | fgets(szTemp, 256, stdin); /* flush any chars out of the read buffer */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
Console.c:423:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 423 | fgets(buffer, 100, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
Console.c:462:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 462 | fgets(buffer, 100, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
Console.c:325:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 325 | fgets(szTemp, 256, stdin); /* flush any chars out of the read buffer */ | ^~~~~~~~~~~~~~~~~~~~~~~~~