Snippets for cunit-original 2.1.3 from Alpine x86_64
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86_64/main/cunit/cunit-2.1.3-r7.log.
-
MyMem.c:363:44: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 363 | fprintf(pFile, "\n <MD_SIZE> %u </MD_SIZE>", pTempEvent->Size); | ~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int size_t {aka long unsigned int} | %lu -
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 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
TestDB.c:1417:12: warning: variable 'pTest10' set but not used [-Wunused-but-set-variable] 1417 | CU_pTest pTest10 = NULL; | ^~~~~~~ -
TestDB.c:1416:12: warning: variable 'pTest9' set but not used [-Wunused-but-set-variable] 1416 | CU_pTest pTest9 = NULL; | ^~~~~~ -
TestDB.c:1415:12: warning: variable 'pTest8' set but not used [-Wunused-but-set-variable] 1415 | CU_pTest pTest8 = NULL; | ^~~~~~ -
TestDB.c:1414:12: warning: variable 'pTest7' set but not used [-Wunused-but-set-variable] 1414 | CU_pTest pTest7 = NULL; | ^~~~~~ -
TestDB.c:1413:12: warning: variable 'pTest6' set but not used [-Wunused-but-set-variable] 1413 | CU_pTest pTest6 = NULL; | ^~~~~~ -
TestDB.c:1412:12: warning: variable 'pTest5' set but not used [-Wunused-but-set-variable] 1412 | CU_pTest pTest5 = NULL; | ^~~~~~ -
TestDB.c:1411:12: warning: variable 'pTest4' set but not used [-Wunused-but-set-variable] 1411 | CU_pTest pTest4 = NULL; | ^~~~~~ -
TestDB.c:1410:12: warning: variable 'pTest3' set but not used [-Wunused-but-set-variable] 1410 | CU_pTest pTest3 = NULL; | ^~~~~~ -
TestDB.c:1409:12: warning: variable 'pTest2' set but not used [-Wunused-but-set-variable] 1409 | CU_pTest pTest2 = NULL; | ^~~~~~ -
TestDB.c:1408:12: warning: variable 'pTest1' set but not used [-Wunused-but-set-variable] 1408 | CU_pTest pTest1 = NULL; | ^~~~~~ -
TestRun.c:1405:13: warning: variable 'pTest4' set but not used [-Wunused-but-set-variable] 1405 | CU_pTest pTest4 = NULL; | ^~~~~~ -
TestRun.c:2122:12: warning: variable 'pTest11' set but not used [-Wunused-but-set-variable] 2122 | CU_pTest pTest11 = NULL; | ^~~~~~~ -
TestRun.c:2121:12: warning: variable 'pTest10' set but not used [-Wunused-but-set-variable] 2121 | CU_pTest pTest10 = NULL; | ^~~~~~~ -
TestRun.c:2118:12: warning: variable 'pTest7' set but not used [-Wunused-but-set-variable] 2118 | CU_pTest pTest7 = NULL; | ^~~~~~ -
TestRun.c:2117:12: warning: variable 'pTest6' set but not used [-Wunused-but-set-variable] 2117 | CU_pTest pTest6 = NULL; | ^~~~~~ -
TestRun.c:965:16: warning: variable 'result' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 965 | CU_ErrorCode result = CUE_SUCCESS; | ^~~~~~ -
Automated.c:347:68: warning: '%s' directive argument is null [-Wformat-overflow=] 347 | fprintf(f_pTestResultFile, " <failure message=\"%s\" type=\"Failure\">\n", szTemp); | ^~ -
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