==== Building physfs (debug) ==== Creating ../obj/Debug/physfs physfsrwops.c physfs_unicode.c physfs_byteorder.c physfs.c ../src/physfs/physfs.c:76:5: warning: initialization of ‘const PHYSFS_ArchiveInfo *’ {aka ‘const struct PHYSFS_ArchiveInfo *’} from incompatible pointer type ‘const PHYSFS_Archiver *’ {aka ‘const struct *’} [-Wincompatible-pointer-types] 76 | &__PHYSFS_Archiver_BIND_PHYSFS, | ^ ../src/physfs/physfs.c:76:5: note: (near initialization for ‘supported_types[0]’) uncompr.c inftrees.c compress.c gzwrite.c ../src/zlib/gzwrite.c: In function ‘gz_comp’: ../src/zlib/gzwrite.c:89:20: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] 89 | writ = write(state->fd, strm->next_in, put); | ^~~~~ | fwrite ../src/zlib/gzwrite.c: In function ‘gzclose_w’: ../src/zlib/gzwrite.c:661:9: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] 661 | if (close(state->fd) == -1) | ^~~~~ | pclose trees.c mzip.c crc32.c adler32.c zutil.c ioapi.c inffast.c gzread.c ../src/zlib/gzread.c: In function ‘gz_load’: ../src/zlib/gzread.c:35:15: warning: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration] 35 | ret = read(state->fd, buf + *have, get); | ^~~~ | fread ../src/zlib/gzread.c: In function ‘gzclose_r’: ../src/zlib/gzread.c:651:11: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] 651 | ret = close(state->fd); | ^~~~~ | pclose gzlib.c ../src/zlib/gzlib.c: In function ‘gz_open’: ../src/zlib/gzlib.c:14:17: warning: implicit declaration of function ‘lseek’; did you mean ‘fseek’? [-Wimplicit-function-declaration] 14 | # define LSEEK lseek | ^~~~~ ../src/zlib/gzlib.c:252:9: note: in expansion of macro ‘LSEEK’ 252 | LSEEK(state->fd, 0, SEEK_END); /* so gzoffset() is correct */ | ^~~~~ deflate.c gzclose.c infback.c inflate.c zip.c bind_physfs.c ../src/physfs/archivers/bind_physfs.c: In function ‘BIND_PHYSFS_openRead’: ../src/physfs/archivers/bind_physfs.c:225:29: warning: passing argument 3 of ‘doOpen’ from incompatible pointer type [-Wincompatible-pointer-types] 225 | return(doOpen(opaque, fnm, PHYSFS_openRead, exist)); | ^~~~~~~~~~~~~~~ | | | PHYSFS_File * (*)(const char *) {aka struct PHYSFS_File * (*)(const char *)} ../src/physfs/archivers/bind_physfs.c:198:30: note: expected ‘void * (*)(const char *)’ but argument is of type ‘PHYSFS_File * (*)(const char *)’ {aka ‘struct PHYSFS_File * (*)(const char *)’} 198 | void *(*openFunc)(const char *filename), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dir.c subzip.c ../src/physfs/archivers/subzip.c: In function ‘SUBZIP_openArchive’: ../src/physfs/archivers/subzip.c:112:15: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | char *base = name; | ^~~~ unix.c posix.c Linking physfs ==== Building minilua (debug) ==== Creating ../obj/Debug/minilua minilua.c Linking minilua Running post-build commands cp ../bin/Debug/minilua ../src/luajit2/src/host/ ==== Building buildvm (debug) ==== Creating ../obj/Debug/buildvm Running pre-build commands ../src/luajit2/src/host/minilua ../src/luajit2/dynasm/dynasm.lua -D VER= -D P64 -D JIT -D FFI -D FPU -D HFABI -o ../src/luajit2/src/host/buildvm_arch.h ../src/luajit2/src/vm_x86.dasc buildvm_lib.c buildvm_fold.c buildvm_asm.c buildvm_peobj.c buildvm.c Linking buildvm Running post-build commands cp ../bin/Debug/buildvm ../src/luajit2/src/ ==== Building luajit2 (debug) ==== Creating ../obj/Debug/luajit2 Running pre-build commands ../src/luajit2/src/buildvm -m elfasm -o ../src/luajit2/src/lj_vm.s ../src/luajit2/src/buildvm -m bcdef -o ../src/luajit2/src/lj_bcdef.h ../src/luajit2/src/lib_base.c ../src/luajit2/src/lib_math.c ../src/luajit2/src/lib_bit.c ../src/luajit2/src/lib_string.c ../src/luajit2/src/lib_table.c ../src/luajit2/src/lib_io.c ../src/luajit2/src/lib_os.c ../src/luajit2/src/lib_package.c ../src/luajit2/src/lib_debug.c ../src/luajit2/src/lib_jit.c ../src/luajit2/src/lib_ffi.c ../src/luajit2/src/buildvm -m ffdef -o ../src/luajit2/src/lj_ffdef.h ../src/luajit2/src/lib_base.c ../src/luajit2/src/lib_math.c ../src/luajit2/src/lib_bit.c ../src/luajit2/src/lib_string.c ../src/luajit2/src/lib_table.c ../src/luajit2/src/lib_io.c ../src/luajit2/src/lib_os.c ../src/luajit2/src/lib_package.c ../src/luajit2/src/lib_debug.c ../src/luajit2/src/lib_jit.c ../src/luajit2/src/lib_ffi.c ../src/luajit2/src/buildvm -m libdef -o ../src/luajit2/src/lj_libdef.h ../src/luajit2/src/lib_base.c ../src/luajit2/src/lib_math.c ../src/luajit2/src/lib_bit.c ../src/luajit2/src/lib_string.c ../src/luajit2/src/lib_table.c ../src/luajit2/src/lib_io.c ../src/luajit2/src/lib_os.c ../src/luajit2/src/lib_package.c ../src/luajit2/src/lib_debug.c ../src/luajit2/src/lib_jit.c ../src/luajit2/src/lib_ffi.c ../src/luajit2/src/buildvm -m recdef -o ../src/luajit2/src/lj_recdef.h ../src/luajit2/src/lib_base.c ../src/luajit2/src/lib_math.c ../src/luajit2/src/lib_bit.c ../src/luajit2/src/lib_string.c ../src/luajit2/src/lib_table.c ../src/luajit2/src/lib_io.c ../src/luajit2/src/lib_os.c ../src/luajit2/src/lib_package.c ../src/luajit2/src/lib_debug.c ../src/luajit2/src/lib_jit.c ../src/luajit2/src/lib_ffi.c ../src/luajit2/src/buildvm -m vmdef -o ../src/luajit2/vmdef.lua ../src/luajit2/src/lib_base.c ../src/luajit2/src/lib_math.c ../src/luajit2/src/lib_bit.c ../src/luajit2/src/lib_string.c ../src/luajit2/src/lib_table.c ../src/luajit2/src/lib_io.c ../src/luajit2/src/lib_os.c ../src/luajit2/src/lib_package.c ../src/luajit2/src/lib_debug.c ../src/luajit2/src/lib_jit.c ../src/luajit2/src/lib_ffi.c ../src/luajit2/src/buildvm -m folddef -o ../src/luajit2/src/lj_folddef.h ../src/luajit2/src/lj_opt_fold.c lj_obj.c lj_api.c lj_bcwrite.c lib_jit.c lj_asm.c lj_opt_mem.c lj_ffrecord.c lib_table.c lib_bit.c lj_ir.c lj_cconv.c lj_snap.c lib_os.c lj_tab.c lj_bc.c lj_dispatch.c lib_debug.c lj_lib.c lj_carith.c lj_func.c lj_opt_dce.c lj_record.c lib_aux.c lj_strscan.c lj_parse.c lj_opt_sink.c lj_meta.c lib_string.c lj_gdbjit.c lj_char.c lib_ffi.c lj_trace.c lib_math.c lj_ccall.c lj_opt_fold.c lj_alloc.c lj_ctype.c lj_str.c lj_opt_loop.c lj_lex.c lj_gc.c lib_io.c lj_mcode.c lj_bcread.c lib_init.c lj_udata.c lj_ccallback.c lj_opt_narrow.c lj_clib.c lj_vmevent.c lib_base.c lj_crecord.c lib_package.c lj_cdata.c lj_opt_split.c lj_load.c lj_state.c lj_cparse.c lj_err.c lj_debug.c lj_vmmath.c lj_vm.s Linking luajit2 ==== Building fov (debug) ==== Creating ../obj/Debug/fov fov.c Linking fov ==== Building luasocket (debug) ==== Creating ../obj/Debug/luasocket auxiliar.c buffer.c except.c inet.c io.c luasocket.c options.c select.c tcp.c timeout.c udp.c usocket.c mime.c Linking luasocket ==== Building luaprofiler (debug) ==== Creating ../obj/Debug/luaprofiler core_profiler.c lua50_profiler.c function_meter.c stack.c clocks.c Linking luaprofiler ==== Building lpeg (debug) ==== Creating ../obj/Debug/lpeg lpprint.c lpcode.c lptree.c lpvm.c lpcap.c Linking lpeg ==== Building tcodimport (debug) ==== Creating ../obj/Debug/tcodimport noise_c.c In file included from ../src/libtcod_import/noise_c.c:32: ../src/SFMT.h:74:6: warning: inline function ‘fill_array64’ declared but never defined 74 | void fill_array64(uint64_t array[], int size); | ^~~~~~~~~~~~ ../src/SFMT.h:70:6: warning: inline function ‘fill_array32’ declared but never defined 70 | void fill_array32(uint32_t array[], int size); | ^~~~~~~~~~~~ ../src/SFMT.h:66:10: warning: inline function ‘gen_rand64’ declared but never defined 66 | uint64_t gen_rand64(void); | ^~~~~~~~~~ ../src/SFMT.h:62:10: warning: inline function ‘gen_rand32’ declared but never defined 62 | uint32_t gen_rand32(void); | ^~~~~~~~~~ Linking tcodimport ==== Building lxp (debug) ==== Creating ../obj/Debug/lxp lxplib.c Linking lxp ==== Building expatstatic (debug) ==== Creating ../obj/Debug/expatstatic xmltok.c xmlrole.c xmltok_impl.c xmltok_ns.c xmlparse.c Linking expatstatic ==== Building luamd5 (debug) ==== Creating ../obj/Debug/luamd5 md5lib.c des56.c md5.c ldes56.c Linking luamd5 ==== Building luazlib (debug) ==== Creating ../obj/Debug/luazlib lgzip.c lzlib.c Linking luazlib ==== Building luabitop (debug) ==== Creating ../obj/Debug/luabitop bit.c Linking luabitop ==== Building te4-bzip (debug) ==== Creating ../obj/Debug/te4-bzip randtable.c crctable.c blocksort.c compress.c bzlib.c decompress.c huffman.c Linking te4-bzip ==== Building te4-wfc (debug) ==== Creating ../obj/Debug/te4-wfc lua_wfc.cpp In file included from ../src/wfc/lua_wfc.cpp:27: ../src/SFMT.h:62:10: warning: inline function ‘uint32_t gen_rand32()’ used but never defined 62 | uint32_t gen_rand32(void); | ^~~~~~~~~~ ../src/SFMT.h:66:10: warning: inline function ‘uint64_t gen_rand64()’ used but never defined 66 | uint64_t gen_rand64(void); | ^~~~~~~~~~ Linking te4-wfc ==== Building utf8proc (debug) ==== Creating ../obj/Debug/utf8proc utf8proc.c Linking utf8proc ==== Building TEngine (debug) ==== Creating ../obj/Debug/TEngine profile.c auxiliar.c map.c ../src/map.c: In function ‘map_set_grid’: ../src/map.c:1041:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1041 | lua_pushnumber(L, (int)map->grids[x][y][i]); | ^ In file included from ../src/display.h:23, from ../src/map.c:21: ../src/map.c: At top level: ../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined 46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y); | ^~~~~~~~~~~~ fov.c In file included from ../src/fov.c:32: ../src/SFMT.h:74:6: warning: inline function ‘fill_array64’ declared but never defined 74 | void fill_array64(uint64_t array[], int size); | ^~~~~~~~~~~~ ../src/SFMT.h:70:6: warning: inline function ‘fill_array32’ declared but never defined 70 | void fill_array32(uint32_t array[], int size); | ^~~~~~~~~~~~ ../src/SFMT.h:66:10: warning: inline function ‘gen_rand64’ declared but never defined 66 | uint64_t gen_rand64(void); | ^~~~~~~~~~ ../src/SFMT.h:62:10: warning: inline function ‘gen_rand32’ declared but never defined 62 | uint32_t gen_rand32(void); | ^~~~~~~~~~ In file included from ../src/display.h:23, from ../src/fov.c:21: ../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined 46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y); | ^~~~~~~~~~~~ getself.c wait.c bspatch.c main.c ../src/main.c: In function ‘stackDump’: ../src/main.c:236:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 236 | { printf("%d: %s // %x\n", i, lua_typename(L, t), (unsigned int)lua_topointer(L, i)); } | ^ In file included from ../src/main.c:32: ../src/main.c: At top level: ../src/SFMT.h:74:6: warning: inline function ‘fill_array64’ declared but never defined 74 | void fill_array64(uint64_t array[], int size); | ^~~~~~~~~~~~ ../src/SFMT.h:70:6: warning: inline function ‘fill_array32’ declared but never defined 70 | void fill_array32(uint32_t array[], int size); | ^~~~~~~~~~~~ ../src/SFMT.h:66:10: warning: inline function ‘gen_rand64’ declared but never defined 66 | uint64_t gen_rand64(void); | ^~~~~~~~~~ ../src/SFMT.h:62:10: warning: inline function ‘gen_rand32’ declared but never defined 62 | uint32_t gen_rand32(void); | ^~~~~~~~~~ In file included from ../src/display.h:23, from ../src/main.c:21: ../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined 46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y); | ^~~~~~~~~~~~ sdnoise1234.c SFMT.c ../src/SFMT.c:493:5: warning: ‘idx’ is static but used in inline function ‘fill_array64’ which is not static 493 | idx = N32; | ^~~ ../src/SFMT.c:492:5: warning: ‘gen_rand_array’ is static but used in inline function ‘fill_array64’ which is not static 492 | gen_rand_array((w128_t *)array, size / 2); | ^~~~~~~~~~~~~~ In file included from ../src/SFMT.c:14: ../src/SFMT.c:488:12: warning: ‘idx’ is static but used in inline function ‘fill_array64’ which is not static 488 | assert(idx == N32); | ^~~ ../src/SFMT.c:488:12: warning: ‘idx’ is static but used in inline function ‘fill_array64’ which is not static 488 | assert(idx == N32); | ^~~ ../src/SFMT.c:487:12: warning: ‘initialized’ is static but used in inline function ‘fill_array64’ which is not static 487 | assert(initialized); | ^~~~~~~~~~~ ../src/SFMT.c:487:12: warning: ‘initialized’ is static but used in inline function ‘fill_array64’ which is not static 487 | assert(initialized); | ^~~~~~~~~~~ ../src/SFMT.c:457:5: warning: ‘idx’ is static but used in inline function ‘fill_array32’ which is not static 457 | idx = N32; | ^~~ ../src/SFMT.c:456:5: warning: ‘gen_rand_array’ is static but used in inline function ‘fill_array32’ which is not static 456 | gen_rand_array((w128_t *)array, size / 4); | ^~~~~~~~~~~~~~ In file included from ../src/SFMT.c:14: ../src/SFMT.c:452:12: warning: ‘idx’ is static but used in inline function ‘fill_array32’ which is not static 452 | assert(idx == N32); | ^~~ ../src/SFMT.c:452:12: warning: ‘idx’ is static but used in inline function ‘fill_array32’ which is not static 452 | assert(idx == N32); | ^~~ ../src/SFMT.c:451:12: warning: ‘initialized’ is static but used in inline function ‘fill_array32’ which is not static 451 | assert(initialized); | ^~~~~~~~~~~ ../src/SFMT.c:451:12: warning: ‘initialized’ is static but used in inline function ‘fill_array32’ which is not static 451 | assert(initialized); | ^~~~~~~~~~~ ../src/SFMT.c:419:5: warning: ‘idx’ is static but used in inline function ‘gen_rand64’ which is not static 419 | idx += 2; | ^~~ ../src/SFMT.c:418:17: warning: ‘idx’ is static but used in inline function ‘gen_rand64’ which is not static 418 | r = psfmt64[idx / 2]; | ^~~ ../src/SFMT.c:418:9: warning: ‘psfmt64’ is static but used in inline function ‘gen_rand64’ which is not static 418 | r = psfmt64[idx / 2]; | ^~~~~~~ ../src/SFMT.c:410:2: warning: ‘idx’ is static but used in inline function ‘gen_rand64’ which is not static 410 | idx = 0; | ^~~ ../src/SFMT.c:409:2: warning: ‘gen_rand_all’ is static but used in inline function ‘gen_rand64’ which is not static 409 | gen_rand_all(); | ^~~~~~~~~~~~ ../src/SFMT.c:408:9: warning: ‘idx’ is static but used in inline function ‘gen_rand64’ which is not static 408 | if (idx >= N32) { | ^~~ In file included from ../src/SFMT.c:14: ../src/SFMT.c:406:12: warning: ‘idx’ is static but used in inline function ‘gen_rand64’ which is not static 406 | assert(idx % 2 == 0); | ^~~ ../src/SFMT.c:406:12: warning: ‘idx’ is static but used in inline function ‘gen_rand64’ which is not static 406 | assert(idx % 2 == 0); | ^~~ ../src/SFMT.c:405:12: warning: ‘initialized’ is static but used in inline function ‘gen_rand64’ which is not static 405 | assert(initialized); | ^~~~~~~~~~~ ../src/SFMT.c:405:12: warning: ‘initialized’ is static but used in inline function ‘gen_rand64’ which is not static 405 | assert(initialized); | ^~~~~~~~~~~ particles.c In file included from ../src/particles.h:24, from ../src/particles.c:30: ../src/particles.c: In function ‘particles_draw’: ../src/tgl.h:86:10: warning: comparison of distinct pointer types lacks a cast 86 | if ((p) != gl_c_texcoords_ptr || (nb) != gl_c_colors_nb) { glTexCoordPointer((nb), (t), (v), (p)); gl_c_texcoords_ptr=(p); gl_c_texcoords_nb = (nb); } \ | ^~ ../src/particles.c:441:2: note: in expansion of macro ‘glTexCoordPointer’ 441 | glTexCoordPointer(2, GL_SHORT, 0, texcoords); | ^~~~~~~~~~~~~~~~~ ../src/tgl.h:86:119: warning: assignment to ‘GLfloat *’ {aka ‘float *’} from incompatible pointer type ‘GLshort *’ {aka ‘short int *’} [-Wincompatible-pointer-types] 86 | if ((p) != gl_c_texcoords_ptr || (nb) != gl_c_colors_nb) { glTexCoordPointer((nb), (t), (v), (p)); gl_c_texcoords_ptr=(p); gl_c_texcoords_nb = (nb); } \ | ^ ../src/particles.c:441:2: note: in expansion of macro ‘glTexCoordPointer’ 441 | glTexCoordPointer(2, GL_SHORT, 0, texcoords); | ^~~~~~~~~~~~~~~~~ ../src/particles.c: In function ‘thread_particle_init’: ../src/particles.c:796:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 796 | printf("Particle args init error %x (%s): %s\n", (int)l, ps->args, lua_tostring(L, -1)); | ^ ../src/particles.c:844:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 844 | printf("Particle run error %x (%s): %s\n", (int)l, ps->args, lua_tostring(L, -1)); | ^ ../src/particles.c: In function ‘thread_particles’: ../src/particles.c:1042:2: warning: implicit declaration of function ‘luaopen_shaders’; did you mean ‘luaopen_base’? [-Wimplicit-function-declaration] 1042 | luaopen_shaders(L); | ^~~~~~~~~~~~~~~ | luaopen_base ../src/particles.c: In function ‘free_particles_thread’: ../src/particles.c:1173:72: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1173 | printf("Destroying particle thread %d (waiting for thread %x)\n", i, (int)pt->thread); | ^ In file included from ../src/particles.c:33: ../src/particles.c: At top level: ../src/SFMT.h:74:6: warning: inline function ‘fill_array64’ declared but never defined 74 | void fill_array64(uint64_t array[], int size); | ^~~~~~~~~~~~ ../src/SFMT.h:70:6: warning: inline function ‘fill_array32’ declared but never defined 70 | void fill_array32(uint32_t array[], int size); | ^~~~~~~~~~~~ ../src/SFMT.h:66:10: warning: inline function ‘gen_rand64’ declared but never defined 66 | uint64_t gen_rand64(void); | ^~~~~~~~~~ ../src/SFMT.h:62:10: warning: inline function ‘gen_rand32’ declared but never defined 62 | uint32_t gen_rand32(void); | ^~~~~~~~~~ In file included from ../src/display.h:23, from ../src/particles.c:21: ../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined 46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y); | ^~~~~~~~~~~~ struct.c display_sdl.c core_lua.c In file included from ../src/core_lua.c:24: ../src/core_lua.c: In function ‘lua_key_set_clipboard’: ../src/luajit2/src/lauxlib.h:97:31: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define luaL_checkstring(L,n) (luaL_checklstring(L, (n), NULL)) | ^ ../src/core_lua.c:443:14: note: in expansion of macro ‘luaL_checkstring’ 443 | char *str = luaL_checkstring(L, 1); | ^~~~~~~~~~~~~~~~ In file included from ../src/core_lua.c:31: ../src/core_lua.c: At top level: ../src/SFMT.h:74:6: warning: inline function ‘fill_array64’ declared but never defined 74 | void fill_array64(uint64_t array[], int size); | ^~~~~~~~~~~~ ../src/SFMT.h:70:6: warning: inline function ‘fill_array32’ declared but never defined 70 | void fill_array32(uint32_t array[], int size); | ^~~~~~~~~~~~ ../src/SFMT.h:66:10: warning: inline function ‘gen_rand64’ declared but never defined 66 | uint64_t gen_rand64(void); | ^~~~~~~~~~ ../src/SFMT.h:62:10: warning: inline function ‘gen_rand32’ declared but never defined 62 | uint32_t gen_rand32(void); | ^~~~~~~~~~ In file included from ../src/display.h:23, from ../src/core_lua.c:21: ../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined 46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y); | ^~~~~~~~~~~~ glew.c music.c physfs.c web.c ../src/web.c: In function ‘te4_web_load’: ../src/web.c:593:3: warning: implicit declaration of function ‘execv’ [-Wimplicit-function-declaration] 593 | execv(get_self_executable(g_argc, g_argv), newargs); | ^~~~~ In file included from ../src/display.h:23, from ../src/web.c:22: ../src/web.c: At top level: ../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined 46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y); | ^~~~~~~~~~~~ noise.c In file included from ../src/display.h:23, from ../src/noise.c:21: ../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined 46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y); | ^~~~~~~~~~~~ shaders.c In file included from ../src/display.h:23, from ../src/shaders.c:21: ../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined 46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y); | ^~~~~~~~~~~~ serial.c In file included from ../src/display.h:23, from ../src/serial.c:21: ../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined 46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y); | ^~~~~~~~~~~~ dmnd_square.c In file included from ../src/dmnd_square.c:36: ../src/SFMT.h:74:6: warning: inline function ‘fill_array64’ declared but never defined 74 | void fill_array64(uint64_t array[], int size); | ^~~~~~~~~~~~ ../src/SFMT.h:70:6: warning: inline function ‘fill_array32’ declared but never defined 70 | void fill_array32(uint32_t array[], int size); | ^~~~~~~~~~~~ ../src/SFMT.h:66:10: warning: inline function ‘gen_rand64’ declared but never defined 66 | uint64_t gen_rand64(void); | ^~~~~~~~~~ ../src/SFMT.h:62:10: warning: inline function ‘gen_rand32’ declared but never defined 62 | uint32_t gen_rand32(void); | ^~~~~~~~~~ In file included from ../src/display.h:23, from ../src/dmnd_square.c:30: ../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined 46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y); | ^~~~~~~~~~~~ discord-te4.c Linking TEngine /usr/bin/ld: ../bin/Debug/libluaprofiler.a(core_profiler.o): in function `lprofP_init_core_profiler': /home/shirish/games/t-engine4/build/../src/luaprofiler/core_profiler.c:134: warning: the use of `tmpnam' is dangerous, better use `mkstemp' Running post-build commands cp ../bin/Debug/t-engine ../