Snippets for allegro4 4.4.3.1 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/ngsjj2lkyrpnksibq0b6ls0c3j0ijk08-allegro-4.4.3.1.drv.
-
/nix/store/kfryidr1xpil6akj18nkf0sidr7g5f4k-xorgproto-2025.1/include/X11/extensions/xf86dga.h:9:2: warning: #warning "xf86dga.h is obsolete and may be removed in the future." [-Wcpp] 9 | #warning "xf86dga.h is obsolete and may be removed in the future." | ^~~~~~~ -
/nix/store/kfryidr1xpil6akj18nkf0sidr7g5f4k-xorgproto-2025.1/include/X11/extensions/xf86dga.h:10:2: warning: #warning "include <X11/extensions/Xxf86dga.h> instead." [-Wcpp] 10 | #warning "include <X11/extensions/Xxf86dga.h> instead." | ^~~~~~~ -
/build/allegro-4.4.3.1/docs/src/makedoc/makedoc.c:277:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation] 277 | strncpy(p, "<pre>", 5); | ^ -
/build/allegro-4.4.3.1/docs/src/makedoc/makedoc.c:281:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 30 bytes from a string of the same length [-Wstringop-truncation] 281 | strncpy(p, "<blockquote class=\"code\"><pre>", 30); | ^ -
/build/allegro-4.4.3.1/docs/src/makedoc/makedoc.c:288:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation] 288 | strncpy(p, "<pre>", 5); | ^ -
/build/allegro-4.4.3.1/docs/src/makedoc/makedoc.c:292:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 30 bytes from a string of the same length [-Wstringop-truncation] 292 | strncpy(p, "<blockquote class=\"text\"><pre>", 30); | ^ -
/build/allegro-4.4.3.1/docs/src/makedoc/makedoc.c:299:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] 299 | strncpy(p, "</pre>", 6); | ^ -
/build/allegro-4.4.3.1/docs/src/makedoc/makedoc.c:303:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 19 bytes from a string of the same length [-Wstringop-truncation] 303 | strncpy(p, "</pre></blockquote>", 19); | ^ -
/build/allegro-4.4.3.1/docs/src/makedoc/makedoc.c:839:7: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 839 | strncpy(buf, temp, strlen(temp)); | ^ -
/build/allegro-4.4.3.1/docs/src/makedoc/makehtml.c:1554:26: warning: comparison is always true due to limited range of data type [-Wtype-limits] 1554 | if (last_letter != -1) | ^~ -
/build/allegro-4.4.3.1/docs/src/makedoc/makehtml.c:74:18: warning: '_codeblock_end_len' defined but not used [-Wunused-const-variable=] 74 | static const int _codeblock_end_len = 19; | ^~~~~~~~~~~~~~~~~~ -
/build/allegro-4.4.3.1/docs/src/makedoc/makesci.c:78:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 78 | fread(buf, sizeof(char), fs, tx_file); /* read in the file */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/allegro-4.4.3.1/src/datafile.c:2151:12: warning: variable 's' set but not used [-Wunused-but-set-variable] 2151 | SAMPLE *s; | ^ -
/build/allegro-4.4.3.1/src/scene3d.c:373:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 373 | poly->flags |= INTERP_THRU;
-
/build/allegro-4.4.3.1/src/unix/ufile.c:416:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 416 | strncat(tempname, entry->d_name, NAMLEN(entry)); | ^ -
/nix/store/r7qf82zlzc2dly3nrdran1qxgzjj7626-glibc-2.42-67-dev/include/bits/string_fortified.h:149:10: warning: '__builtin___strncat_chk' offset [275, 1041] from the object at 'entry' is out of the bounds of referenced subobject 'd_name' with type 'char[256]' at offset 19 [-Warray-bounds=] 149 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/allegro-4.4.3.1/src/unix/ufile.c:421:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 1023 bytes from a string of length 1023 [-Wstringop-truncation] 421 | strncat(filename, tempname, sizeof(filename) - strlen(filename) - 1); | ^ -
/build/allegro-4.4.3.1/src/unix/uoss.c:177:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 177 | write(oss_fd, oss_bufdata, oss_bufsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/allegro-4.4.3.1/src/unix/uossmidi.c:264:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 264 | write(fd, &ins, sizeof(ins)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/allegro-4.4.3.1/src/unix/uossmidi.c:272:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 272 | write(fd, &ins, sizeof(ins)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/allegro-4.4.3.1/src/unix/uossmidi.c:110:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 110 | write(seq_fd, _seqbuf, _seqbufptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/allegro-4.4.3.1/src/unix/usystem.c:412:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 412 | fgets(linkname, sizeof(linkname), pipe); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/allegro-4.4.3.1/src/unix/usystem.c:420:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 420 | fgets(linkname, sizeof(linkname), pipe); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/allegro-4.4.3.1/src/unix/usystem.c:276:10: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 276 | getcwd(pathname, sizeof(pathname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/allegro-4.4.3.1/src/x/xkeyboard.c:620:10: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 620 | KeySym sym = XKeycodeToKeysym(_xwin.display, | ^~~~~~ -
/build/allegro-4.4.3.1/addons/loadpng/loadpng.c:97:9: warning: variable 'tRNS_to_alpha' set but not used [-Wunused-but-set-variable] 97 | int tRNS_to_alpha = FALSE; | ^~~~~~~~~~~~~ -
/build/allegro-4.4.3.1/addons/loadpng/loadpng.c:294:34: warning: cast between incompatible function types from 'void (*)(png_struct *, png_byte *, png_uint_32)' {aka 'void (*)(struct png_struct_def *, unsigned char *, unsigned int)'} to 'void (*)(png_struct *, png_byte *, size_t)' {aka 'void (*)(struct png_struct_def *, unsigned char *, long unsigned int)'} [-Wcast-function-type] 294 | png_set_read_fn(png_ptr, fp, (png_rw_ptr)read_data); | ^ -
/build/allegro-4.4.3.1/addons/loadpng/loadpng.c:394:52: warning: cast between incompatible function types from 'void (*)(png_struct *, png_byte *, png_uint_32)' {aka 'void (*)(struct png_struct_def *, unsigned char *, unsigned int)'} to 'void (*)(png_struct *, png_byte *, size_t)' {aka 'void (*)(struct png_struct_def *, unsigned char *, long unsigned int)'} [-Wcast-function-type] 394 | png_set_read_fn(png_ptr, &memory_reader_state, (png_rw_ptr)read_data_memory); | ^ -
/build/allegro-4.4.3.1/addons/loadpng/savepng.c:206:35: warning: cast between incompatible function types from 'void (*)(png_struct *, png_byte *, png_uint_32)' {aka 'void (*)(struct png_struct_def *, unsigned char *, unsigned int)'} to 'void (*)(png_struct *, png_byte *, size_t)' {aka 'void (*)(struct png_struct_def *, unsigned char *, long unsigned int)'} [-Wcast-function-type] 206 | png_set_write_fn(png_ptr, fp, (png_rw_ptr)write_data, flush_data); | ^ -
/build/allegro-4.4.3.1/addons/allegrogl/src/fontconv.c:447:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 447 | int count; | ^~~~~ -
/build/allegro-4.4.3.1/addons/allegrogl/src/glext.c:649:17: warning: '__builtin_strncpy' specified bound 80 equals destination size [-Wstringop-truncation] 649 | strncpy(buf, extension, 80); | ^ -
/build/allegro-4.4.3.1/tools/datedit.c:931:22: warning: typedef 'DF' locally defined but not used [-Wunused-local-typedefs] 931 | typedef void (*DF)(void *); | ^~ -
/build/allegro-4.4.3.1/tools/datedit.c:1617:26: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] 1617 | if (!type_index < 0) | ^ -
/build/allegro-4.4.3.1/tools/datedit.c:1617:26: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
-
/build/allegro-4.4.3.1/tools/plugins/datgrid.c:208:20: warning: '%03d' directive writing between 3 and 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 208 | sprintf(buf, "%s%03d", name, c); | ^~~~ -
/build/allegro-4.4.3.1/tools/dat2c.c:580:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 580 | was_num_escape = 2; | ~~~~~~~~~~~~~~~^~~ -
/build/allegro-4.4.3.1/tools/dat.c:298:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 298 | fscanf(stdin, "%d", &c); | ^~~~~~~~~~~~~~~~~~~~~~~ -
/build/allegro-4.4.3.1/tools/pat2dat.c:2074:31: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2074 | fread(sf_presets[i].achPresetName, 20, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/allegro-4.4.3.1/tools/pat2dat.c:2127:31: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2127 | fread(sf_instruments[i].achInstName, 20, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/allegro-4.4.3.1/tools/pat2dat.c:2175:31: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2175 | fread(sf_samples[i].achSampleName, 20, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/allegro-4.4.3.1/tools/grabber.c:345:31: warning: '%s' directive writing up to 1023 bytes into a region of size 1014 [-Wformat-overflow=] 345 | sprintf(buf, "grabber - %s%s", grabber_data_file, is_modified ? " (modified)" : ""); | ^~ ~~~~~~~~~~~~~~~~~ -
/build/allegro-4.4.3.1/setup/setup.c:1897:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1897 | if (!p->e2) | ^~ -
/build/allegro-4.4.3.1/tests/mathtest.c:116:31: warning: '%s' directive writing up to 79 bytes into a region of size 75 [-Wformat-overflow=] 116 | sprintf(calc_str, "-E- (%s)", b); | ^~ ~ -
/build/allegro-4.4.3.1/tests/play.c:31:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 8 [-Wformat-overflow=] 31 | sprintf(tmp, "%d", driver_id); | ^~