Snippets for ace-of-penguins 1.4 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/24iif718dpigb4c3mk8ss9yif9066713-ace-of-penguins-1.4.drv.
-
table.c:516:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 516 | save[0] = (int)clip_saves; | ^ -
table.c:549:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 549 | clip_saves = (int *)clip_saves[0]; | ^ -
help.c:413:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 413 | fread(file, 1, st.st_size, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
./make-imglib.c:261:58: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'FILE *' [-Wformat=] 261 | fprintf(stderr, "Unable to open dependency file %s for writing\n", depfile); | ~^ ~~~~~~~ | | | | char * FILE * -
./make-imglib.c:261:57: warning: '%s' directive argument is null [-Wformat-overflow=] 261 | fprintf(stderr, "Unable to open dependency file %s for writing\n", depfile); | ^~ -
golf.c:109:20: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 109 | sprintf(s, "%2d", c); | ^ -
minesweeper.c:178:19: warning: '%03d' directive writing between 3 and 10 bytes into a region of size 4 [-Wformat-overflow=] 178 | sprintf(tmp, "%03d", untagged); | ^~~~ -
taipeilib.c:54:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | fscanf(f, "%d%*[^0-9-]%d%*[^0-9-]", &y, &z); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~