Snippets for cunit-original 2.1-3 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/zw4yd5gm89j8whh4db8pbf0pp02pjjs5-CUnit-2.1-3.drv.
-
TestRun.c:614:30: warning: field width should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat] 614 | snprintf(result, len, "%*s%*s%*s%*s%*s%*s%*s\n" /* if you change this, be sure */ | ~~^ 615 | "%*s%*s%*u%*u%*s%*u%*u\n" /* to change the calculation of */ 616 | "%*s%*s%*u%*u%*u%*u%*u\n" /* len above! */ 617 | "%*s%*s%*u%*u%*u%*u%*s\n\n" 618 | "%*s%8.3f%*s", 619 | width[0], _("Run Summary:"), | ~~~~~~~~ -
../../../CUnit/Headers/Automated.h:90:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 90 | const char *CU_automated_package_name_get(); | ^ | void -
Automated.c:166:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 166 | CU_ErrorCode CU_list_tests_to_file() | ^ | void -
Automated.c:765:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 765 | const char *CU_automated_package_name_get() | ^ | void -
Console.c:504:24: warning: field width should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat] 504 | fprintf(stdout, "\n%*s %-*s%*s%*s%*s%*s\n", | ~~^ 505 | width[0], _("#"), | ~~~~~~~~ -
Console.c:514:26: warning: field width should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat] 514 | fprintf(stdout, "\n%*d. %-*.*s%*s%*s%*u%*s", | ~~^ 515 | width[0], i, | ~~~~~~~~ -
Console.c:560:24: warning: field width should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat] 560 | fprintf(stdout, "\n%*s %-*s%*s\n", | ~~^ 561 | width[0], _("#"), | ~~~~~~~~ -
Console.c:569:26: warning: field width should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat] 569 | fprintf(stdout, "\n%*u. %-*.*s%*s", | ~~^ 570 | width[0], uiCount, | ~~~~~~~~