cc -Wdate-time -D_FORTIFY_SOURCE=2 -DSTB_DEFINE -DSTB_PERFECT_HASH -DSTB_HERRINGBONE_WANG_TILE_IMPLEMENTATION -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -fwrapv -fPIC -o stb_herringbone_wang_tile.o -c stb_herringbone_wang_tile.c
stb_c_lexer.c:323:20: warning: ‘stb__strchr’ defined but not used [-Wunused-function]’ [-Wincompatible-pointer-types]
323 | static const char *stb__strchr(const char *str, int ch)
| ^~~~~~~~~~~
stb_herringbone_wang_tile.c:369:41: warning: ‘struct stbhw__process’ declared inside parameter list will not be visible outside of this definition or declaration
369 | typedef void stbhw__process_rect(struct stbhw__process *p, int xpos, int ypos,
| ^~~~~~~~~~~~~~ stb_herringbone_wang_tile.c: In function ‘stbhw__process_h_row’: stb_herringbone_wang_tile.c:401:43: warning: passing argument 1 of ‘p->process_h_rect’ from incompatible pointer type [-Wincompatible-pointer-types]
401 | p->process_h_rect(p, xpos, ypos, a,b,c,d,e,f);
| ^
| |
| stbhw__process * stb_herringbone_wang_tile.c:401:43: note: expected ‘struct stbhw__process *’ but argument is of type ‘stbhw__process *’
stb_herringbone_wang_tile.c: In function ‘stbhw__process_v_row’: stb_herringbone_wang_tile.c:425:43: warning: passing argument 1 of ‘p->process_v_rect’ from incompatible pointer type [-Wincompatible-pointer-types]
425 | p->process_v_rect(p, xpos, ypos, a,b,c,d,e,f);
| ^
| |
| stbhw__process * stb_herringbone_wang_tile.c:425:43: note: expected ‘struct stbhw__process *’ but argument is of type ‘stbhw__process *’
stb_herringbone_wang_tile.c: In function ‘stbhw_build_tileset_from_image’:
stb_herringbone_wang_tile.c:929:21: warning: assignment to ‘void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)’ from incompatible pointer type ‘void (*)(stbhw__process *, int, int, int, int, int, int, int, int)
929 | p.process_h_rect = stbhw__parse_h_rect;’ [-Wincompatible-pointer-types]
| ^
stb_herringbone_wang_tile.c:930:21: warning: assignment to ‘void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)’ from incompatible pointer type ‘void (*)(stbhw__process *, int, int, int, int, int, int, int, int)
930 | p.process_v_rect = stbhw__parse_v_rect;int)’ [-Wincompatible-pointer-types]
| ^
deprecated/stb.c: In function ‘stb_float_eq’:
deprecated/stb.c:1428:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
1428 | if (abs(*(int *)&x - *(int *)&y) <= max_ulps) return 1;
| ^~~~~~~~~
stb_dxt.c: In function ‘stb_compress_dxt_block’: deprecated/stb.c:1428:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
1428 | if (abs(*(int *)&x - *(int *)&y) <= max_ulps) return 1;
| ^~~~~~~~~
stb_dxt.c:608:7: error: implicit declaration of function ‘memcpy’ [-Werror=implicit-function-declaration]
608 | memcpy(data, src, 4*16);
| ^~~~~~
stb_dxt.c:89:1: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
88 | #include <math.h>
+++ |+#include <string.h>
89 | #endif
stb_dxt.c:608:7: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch]
608 | memcpy(data, src, 4*16);
| ^~~~~~
stb_dxt.c:608:7: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
stb_herringbone_wang_tile.c: In function ‘stbhw_make_template’: stb_herringbone_wang_tile.c:1186:24: warning: assignment to ‘void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)’ from incompatible pointer type ‘void (*)(stbhw__process *, int, int, int, int, int, int, int,
1186 | p.process_h_rect = stbhw__corner_process_h_rect;int)’ [-Wincompatible-pointer-types]
| ^
stb_herringbone_wang_tile.c:1187:24: warning: assignment to ‘void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)’ from incompatible pointer type ‘void (*)(stbhw__process *, int, int, int, int, int, int, int,
1187 | p.process_v_rect = stbhw__corner_process_v_rect;int)’ [-Wincompatible-pointer-types]
| ^
stb_herringbone_wang_tile.c:1189:24: warning: assignment to ‘void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)’ from incompatible pointer type ‘void (*)(stbhw__process *, int, int, int, int, int, int, int,
1189 | p.process_h_rect = stbhw__edge_process_h_rect;int)’ [-Wincompatible-pointer-types]
| ^
stb_herringbone_wang_tile.c:1190:24: warning: assignment to ‘void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)’ from incompatible pointer type ‘void (*)(stbhw__process *, int, int, int, int, int, int, int,
1190 | p.process_v_rect = stbhw__edge_process_v_rect;security -fcf-protection -Wall -pedantic -fwrapv -fPIC -o stb_hexwave.o -c stb_hexwave.c
| ^
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DSTB_DEFINE -DSTB_PERFECT_HASH -DSTB_HEXWAVE_IMPLEMENTATION -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-
deprecated/stb.c: In function ‘stb_ptrmap_destroy’: deprecated/stb.c:3903:30: warning: statement with no effect [-Wunused-value]security -fcf-protection -Wall -pedantic -fwrapv -fPIC -o stb_image.o -c stb_image.c
3903 | #define STB_nodelete(x) 0
| ^
deprecated/stb.c:3993:10: note: in expansion of macro ‘STB_nodelete’
3993 | DISPOSE(a->table[i].k); \
| ^~~~~~~
deprecated/stb.c:4203:1: note: in expansion of macro ‘stb_define_hash_base’
4203 | stb_define_hash_base(STB_noprefix,stb_ptrmap, STB_nofields, stb_ptrmap_,stb_ptrmap_,0.85f,
| ^~~~~~~~~~~~~~~~~~~~
deprecated/stb.c: In function ‘stb_ptrmap_remove’: deprecated/stb.c:3903:30: warning: statement with no effect [-Wunused-value]
3903 | #define STB_nodelete(x) 0
| ^
deprecated/stb.c:4115:4: note: in expansion of macro ‘STB_nodelete’
4115 | DISPOSE(a->table[n].k); \
| ^~~~~~~
deprecated/stb.c:4203:1: note: in expansion of macro ‘stb_define_hash_base’
4203 | stb_define_hash_base(STB_noprefix,stb_ptrmap, STB_nofields, stb_ptrmap_,stb_ptrmap_,0.85f,
| ^~~~~~~~~~~~~~~~~~~~
deprecated/stb.c: In function ‘stb_idict_destroy’: deprecated/stb.c:3903:30: warning: statement with no effect [-Wunused-value]
3903 | #define STB_nodelete(x) 0
| ^
deprecated/stb.c:3993:10: note: in expansion of macro ‘STB_nodelete’
3993 | DISPOSE(a->table[i].k); \
| ^~~~~~~
deprecated/stb.c:4230:1: note: in expansion of macro ‘stb_define_hash_base’
4230 | stb_define_hash_base(STB_noprefix, stb_idict, short type; short gc; STB_nofields, stb_idict_,stb_idict_,0.95f,
| ^~~~~~~~~~~~~~~~~~~~
deprecated/stb.c: In function ‘stb_idict_remove’: deprecated/stb.c:3903:30: warning: statement with no effect [-Wunused-value]
3903 | #define STB_nodelete(x) 0
| ^
deprecated/stb.c:4115:4: note: in expansion of macro ‘STB_nodelete’
4115 | DISPOSE(a->table[n].k); \
| ^~~~~~~
deprecated/stb.c:4230:1: note: in expansion of macro ‘stb_define_hash_base’
4230 | stb_define_hash_base(STB_noprefix, stb_idict, short type; short gc; STB_nofields, stb_idict_,stb_idict_,0.95f,
| ^~~~~~~~~~~~~~~~~~~~
deprecated/stb.c: In function ‘stb_uidict_destroy’: deprecated/stb.c:3903:30: warning: statement with no effect [-Wunused-value]
3903 | #define STB_nodelete(x) 0
| ^
deprecated/stb.c:3993:10: note: in expansion of macro ‘STB_nodelete’
3993 | DISPOSE(a->table[i].k); \
| ^~~~~~~
deprecated/stb.c:4257:1: note: in expansion of macro ‘stb_define_hash_base’
4257 | stb_define_hash_base(STB_noprefix, stb_uidict, STB_nofields, stb_uidict_,stb_uidict_,0.85f,
| ^~~~~~~~~~~~~~~~~~~~
deprecated/stb.c: In function ‘stb_uidict_remove’: deprecated/stb.c:3903:30: warning: statement with no effect [-Wunused-value]
3903 | #define STB_nodelete(x) 0
| ^
deprecated/stb.c:4115:4: note: in expansion of macro ‘STB_nodelete’
4115 | DISPOSE(a->table[n].k); \
| ^~~~~~~
deprecated/stb.c:4257:1: note: in expansion of macro ‘stb_define_hash_base’
4257 | stb_define_hash_base(STB_noprefix, stb_uidict, STB_nofields, stb_uidict_,stb_uidict_,0.85f,
| ^~~~~~~~~~~~~~~~~~~~
deprecated/stb.c: In function ‘stb__spmatrix_destroy’: deprecated/stb.c:3903:30: warning: statement with no effect [-Wunused-value]
3903 | #define STB_nodelete(x) 0
| ^
deprecated/stb.c:3993:10: note: in expansion of macro ‘STB_nodelete’
3993 | DISPOSE(a->table[i].k); \
| ^~~~~~~
deprecated/stb.c:4300:1: note: in expansion of macro ‘stb_define_hash_base’
4300 | stb_define_hash_base(STB_noprefix, stb_spmatrix, int val_size; void *arena;, stb__spmatrix_,stb__spmatrix_, 0.85,
| ^~~~~~~~~~~~~~~~~~~~
deprecated/stb.c: In function ‘stb__spmatrix_remove’: deprecated/stb.c:3903:30: warning: statement with no effect [-Wunused-value]
3903 | #define STB_nodelete(x) 0
| ^
deprecated/stb.c:4115:4: note: in expansion of macro ‘STB_nodelete’
4115 | DISPOSE(a->table[n].k); \
| ^~~~~~~
deprecated/stb.c:4300:1: note: in expansion of macro ‘stb_define_hash_base’
4300 | stb_define_hash_base(STB_noprefix, stb_spmatrix, int val_size; void *arena;, stb__spmatrix_,stb__spmatrix_, 0.85,
| ^~~~~~~~~~~~~~~~~~~~
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DSTB_DEFINE -DSTB_PERFECT_HASH -DSTB_IMAGE_IMPLEMENTATION -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-
deprecated/stb.c: In function ‘stb_dirtree2_from_files_relative’: deprecated/stb.c:3183:56: warning: value computed is not used [-Wunused-value]format-security -fcf-protection -Wall -pedantic -fwrapv -fPIC -o stb_image_resize.o -c stb_image_resize.c
3183 | #define stb_arr_pop(a) ((stb_arr_check(a), (a))[--stb_arrhead(a)->len])
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
deprecated/stb.c:6338:10: note: in expansion of macro ‘stb_arr_pop’
6338 | stb_arr_pop(descendents);
| ^~~~~~~~~~~
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DSTB_DEFINE -DSTB_PERFECT_HASH -DSTB_IMAGE_RESIZE_IMPLEMENTATION -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=
cc1: some warnings being treated as errors
make[1]: *** [Makefile:48: stb_dxt.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 04:59:51 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,335,947 |