src/packet.h:152:9: error: 'socket_udp4' does not name a type 152 | socket_udp4 *socket; | ^~~~~~~~~~~ src/packet.h:174:19: error: 'socket_udp4' has not been declared 174 | void init(socket_udp4 *socket, const NETADDR4 *addr) | ^~~~~~~~~~~ src/packet.h: In member function 'void connection::init(int*, const NETADDR4*)': src/packet.h:177:23: error: 'class connection' has no member named 'socket' 177 | this->socket = socket; | ^~~~~~ src/packet.h: In member function 'void connection::send(packet*)': src/packet.h:195:17: error: 'socket' was not declared in this scope; did you mean 'packet'? 195 | socket->send(&address(), p->data(), p->size()); | ^~~~~~ | packet src/client.cpp: At global scope: src/client.cpp:142:9: error: 'socket_udp4' does not name a type 142 | socket_udp4 socket; | ^~~~~~~~~~~ src/client.cpp:233:22: error: 'netaddr4' has not been declared 233 | void connect(netaddr4 *server_address) | ^~~~~~~~ src/client.cpp:299:18: error: 'netaddr4' has not been declared 299 | void run(netaddr4 *server_address) | ^~~~~~~~ src/client.cpp: In member function 'void client::connect(int*)': src/client.cpp:235:28: error: 'socket' was not declared in this scope; did you mean 'packet'? 235 | conn.init(&socket, server_address); | ^~~~~~ | packet src/client.cpp: In member function 'void client::render()': src/client.cpp:260:25: error: 'netaddr4' was not declared in this scope 260 | netaddr4 server_address; | ^~~~~~~~ src/client.cpp:261:54: error: 'server_address' was not declared in this scope 261 | int status = modmenu_render(&server_address, name, MAX_NAME_LENGTH); | ^~~~~~~~~~~~~~ src/client.cpp: In member function 'void client::run(int*)': src/client.cpp:323:21: error: 'socket' was not declared in this scope; did you mean 'packet'? 323 | if(!socket.open(0)) | ^~~~~~ | packet src/client.cpp:391:29: error: 'keys' has not been declared 391 | if (keys::pressed(keys::esc)) | ^~~~ src/client.cpp:391:43: error: 'keys' has not been declared 391 | if (keys::pressed(keys::esc)) | ^~~~ src/client.cpp: In member function 'void client::pump_network()': src/client.cpp:507:25: error: 'netaddr4' was not declared in this scope 507 | netaddr4 from; | ^~~~~~~~ src/client.cpp:508:37: error: 'socket' was not declared in this scope; did you mean 'packet'? 508 | int bytes = socket.recv(&from, p.data(), p.max_size()); | ^~~~~~ | packet src/client.cpp:508:50: error: 'from' was not declared in this scope 508 | int bytes = socket.recv(&from, p.data(), p.max_size()); | ^~~~ src/client.cpp: In function 'int client_main(int, char**)': src/client.cpp:528:9: error: 'netaddr4' was not declared in this scope 528 | netaddr4 server_address(127, 0, 0, 1, 8303); | ^~~~~~~~ src/client.cpp:543:60: error: 'server_address' was not declared in this scope 543 | if(net_host_lookup(argv[i], 8303, &server_address) != 0) | ^~~~~~~~~~~~~~ src/client.cpp:566:34: error: 'server_address' was not declared in this scope 566 | c.run(connect_at_once ? &server_address : 0x0); | ^~~~~~~~~~~~~~ src/datafile.cpp: In function 'datafile* datafile_load(const char*)': src/datafile.cpp:63:9: error: 'baselib' has not been declared 63 | baselib::file_stream file; | ^~~~~~~ src/datafile.cpp:64:13: error: 'file' was not declared in this scope 64 | if(!file.open_r(filename)) | ^~~~ src/datafile.cpp:69:9: error: 'file' was not declared in this scope 69 | file.read(header, sizeof(header)); | ^~~~ src/datafile.cpp:70:98: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 70 | if(((header[0]>>24)&0xff) != 'D' || ((header[0]>>16)&0xff) != 'A' || (header[0]>>8)&0xff != 'T' || (header[0]&0xff)!= 'A') | ~~~~~^~~~~~ src/datafile.cpp: At global scope: src/datafile.cpp:238:9: error: 'baselib' does not name a type 238 | baselib::file_stream file; | ^~~~~~~ src/datafile.cpp: In function 'datafile_out* datafile_create(const char*)': src/datafile.cpp:250:17: error: 'struct datafile_out' has no member named 'file' 250 | if(!df->file.open_w(filename)) | ^~~~ src/datafile.cpp: In function 'int datafile_finish(datafile_out*)': src/datafile.cpp:353:13: error: 'struct datafile_out' has no member named 'file' 353 | df->file.write(&header, sizeof(header)); | ^~~~ src/datafile.cpp:367:29: error: 'struct datafile_out' has no member named 'file' 367 | df->file.write(&info, sizeof(info)); | ^~~~ src/datafile.cpp:384:37: error: 'struct datafile_out' has no member named 'file' 384 | df->file.write(&offset, sizeof(offset)); | ^~~~ src/datafile.cpp:398:21: error: 'struct datafile_out' has no member named 'file' 398 | df->file.write(&offset, sizeof(offset)); | ^~~~ src/datafile.cpp:416:37: error: 'struct datafile_out' has no member named 'file' 416 | df->file.write(&itm, sizeof(itm)); | ^~~~ src/datafile.cpp:417:37: error: 'struct datafile_out' has no member named 'file' 417 | df->file.write(df->items[k].data, df->items[k].size); | ^~~~ src/datafile.cpp:430:21: error: 'struct datafile_out' has no member named 'file' 430 | df->file.write(df->datas[i].data, df->datas[i].size); | ^~~~ src/editor.cpp: In function 'void editor_listdir_callback(const char*, int, void*)': src/editor.cpp:620:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 620 | if(ui_do_button((void*)(*y + 1), name, 0, 10, 10 + *y * 8, 100, 6, draw_editor_button)) | ^~~~~~~~~~~~~~~ src/editor.cpp: In function 'int editor_loop()': src/editor.cpp:1038:9: error: 'mouse' has not been declared 1038 | mouse::set_mode(mouse::mode_relative); | ^~~~~ src/editor.cpp:1038:25: error: 'mouse' has not been declared 1038 | mouse::set_mode(mouse::mode_relative); | ^~~~~ src/editor.cpp:1078:28: error: 'inp_mouse_button_pressed' was not declared in this scope 1078 | if(inp_mouse_button_pressed(0)) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/gfx.cpp:104:5: error: ambiguating new declaration of 'int gfx_init(bool)' 104 | int gfx_init(bool fullscreen) | ^~~~~~~~ In file included from src/gfx.cpp:3: src/interface.h:47:6: note: old declaration 'bool gfx_init(bool)' 47 | bool gfx_init(bool fullscreen); // NOT EXPOSED | ^~~~~~~~ src/gfx.cpp: In function 'int gfx_init(bool)': src/gfx.cpp:111:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 111 | if(fullscreen = true) | ~~~~~~~~~~~^~~~~~ src/gfx.cpp:172:34: error: 'IMG_RGBA' was not declared in this scope 172 | gfx_load_texture_raw(4,4,IMG_RGBA,null_texture_data); | ^~~~~~~~ src/gfx.cpp: In function 'int gfx_load_texture_raw(int, int, int, const void*)': src/gfx.cpp:250:50: error: 'IMG_RGBA' was not declared in this scope 250 | if(w > 16 && h > 16 && format == IMG_RGBA) | ^~~~~~~~ src/gfx.cpp:273:18: error: 'IMG_RGB' was not declared in this scope 273 | if(format == IMG_RGB) | ^~~~~~~ src/gfx.cpp:273:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 273 | if(format == IMG_RGB) | ^~ src/gfx.cpp:276:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 276 | glGenTextures(1, &textures[tex].tex); | ^~~~~~~~~~~~~ src/gfx.cpp: In function 'void gfx_pretty_text(float, float, float, const char*, int)': src/gfx.cpp:770:35: error: 'gfx_pretty_text_width' was not declared in this scope; did you mean 'gfx_pretty_text_raw'? 770 | float w = gfx_pretty_text_width(size, text, wlen); | ^~~~~~~~~~~~~~~~~~~~~ | gfx_pretty_text_raw src/menu.cpp:344:34: warning: multi-character character constant [-Wmultichar] 344 | if (signature == 'TWSL') | ^~~~~~ src/menu.cpp:128:9: error: 'netaddr4' does not name a type 128 | netaddr4 address; | ^~~~~~~~ src/menu.cpp: In function 'int ui_do_edit_box(void*, float, float, float, float, char*, int)': src/menu.cpp:157:26: error: 'keys' has not been declared 157 | char c = keys::last_char(); | ^~~~ src/menu.cpp:158:25: error: 'keys' has not been declared 158 | int k = keys::last_key(); | ^~~~ src/menu.cpp:170:26: error: 'keys' has not been declared 170 | if (k == keys::backspace) | ^~~~ src/menu.cpp:183:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 183 | ui_do_label(x + 4 + w, y - 3.5f, "_"); | ^~~ src/menu.cpp: At global scope: src/menu.cpp:293:34: error: 'netaddr4' has not been declared 293 | char *read_netaddr(char *buffer, netaddr4 *addr) | ^~~~~~~~ src/menu.cpp: In function 'char* read_netaddr(char*, int*)': src/menu.cpp:295:15: error: request for member 'ip' in '* addr', which is of non-class type 'int' 295 | addr->ip[0] = *buffer++; | ^~ src/menu.cpp:296:15: error: request for member 'ip' in '* addr', which is of non-class type 'int' 296 | addr->ip[1] = *buffer++; | ^~ src/menu.cpp:297:15: error: request for member 'ip' in '* addr', which is of non-class type 'int' 297 | addr->ip[2] = *buffer++; | ^~ src/menu.cpp:298:15: error: request for member 'ip' in '* addr', which is of non-class type 'int' 298 | addr->ip[3] = *buffer++; | ^~ src/menu.cpp:303:15: error: request for member 'port' in '* addr', which is of non-class type 'int' 303 | addr->port = port; | ^~~~ src/menu.cpp: In function 'void refresh_list(server_list*)': src/menu.cpp:310:9: error: 'netaddr4' was not declared in this scope 310 | netaddr4 addr; | ^~~~~~~~ src/menu.cpp:311:17: error: expected ';' before 'me' 311 | netaddr4 me(0, 0, 0, 0, 0); | ^~~ | ; src/menu.cpp:315:73: error: 'addr' was not declared in this scope 315 | if (net_host_lookup(MASTER_SERVER_ADDRESS, MASTER_SERVER_PORT, &addr) == 0) | ^~~~ src/menu.cpp:317:9: error: 'socket_tcp4' was not declared in this scope 317 | socket_tcp4 sock; | ^~~~~~~~~~~ src/menu.cpp:318:9: error: 'sock' was not declared in this scope 318 | sock.open(&me); | ^~~~ src/menu.cpp:318:20: error: 'me' was not declared in this scope 318 | sock.open(&me); | ^~ src/menu.cpp:372:56: error: 'struct server_info' has no member named 'address' 372 | d = read_netaddr(d, &info->address); | ^~~~~~~ src/menu.cpp:352:31: warning: unused variable 'wanted_data_count' [-Wunused-variable] 352 | const int wanted_data_count = server_count * server_info_size; | ^~~~~~~~~~~~~~~~~ src/menu.cpp:327:17: warning: unused variable 'pointer' [-Wunused-variable] 327 | int pointer = 0; | ^~~~~~~ src/menu.cpp: At global scope: src/menu.cpp:405:24: error: 'netaddr4' was not declared in this scope 405 | static int menu_render(netaddr4 *server_address, char *str, int max_len) | ^~~~~~~~ src/menu.cpp:405:34: error: 'server_address' was not declared in this scope 405 | static int menu_render(netaddr4 *server_address, char *str, int max_len) | ^~~~~~~~~~~~~~ src/menu.cpp:405:50: error: expected primary-expression before 'char' 405 | static int menu_render(netaddr4 *server_address, char *str, int max_len) | ^~~~ src/menu.cpp:405:61: error: expected primary-expression before 'int' 405 | static int menu_render(netaddr4 *server_address, char *str, int max_len) | ^~~ src/menu.cpp:405:72: error: expression list treated as compound expression in initializer [-fpermissive] 405 | static int menu_render(netaddr4 *server_address, char *str, int max_len) | ^ src/menu.cpp: In function 'void modmenu_init()': src/menu.cpp:483:9: error: 'keys' has not been declared 483 | keys::enable_char_cache(); | ^~~~ src/menu.cpp:484:9: error: 'keys' has not been declared 484 | keys::enable_key_cache(); | ^~~~ src/menu.cpp: In function 'int modmenu_render(void*, char*, int)': src/menu.cpp:541:9: error: 'netaddr4' was not declared in this scope 541 | netaddr4 *server_address = (netaddr4 *)ptr; | ^~~~~~~~ src/menu.cpp:541:19: error: 'server_address' was not declared in this scope 541 | netaddr4 *server_address = (netaddr4 *)ptr; | ^~~~~~~~~~~~~~ src/menu.cpp:541:47: error: expected primary-expression before ')' token 541 | netaddr4 *server_address = (netaddr4 *)ptr; | ^ src/menu.cpp:569:24: error: 'menu_render' cannot be used as a function 569 | int r = menu_render(server_address, str, max_len); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server.cpp:590:34: warning: multi-character character constant [-Wmultichar] 590 | d = write_int(d, 'TWHB'); | ^~~~~~ In file included from src/packet.h:2, from src/server.cpp:10: src/network.h:11:3: error: conflicting declaration 'typedef struct NETPACKET NETPACKET' 11 | } NETPACKET; | ^~~~~~~~~ In file included from src/server.cpp:5: src/network.h:11:3: note: previous declaration as 'typedef struct NETPACKET NETPACKET' 11 | } NETPACKET; | ^~~~~~~~~ src/network.h:22:3: error: conflicting declaration 'typedef struct NETSTATS NETSTATS' 22 | } NETSTATS; | ^~~~~~~~ src/network.h:22:3: note: previous declaration as 'typedef struct NETSTATS NETSTATS' 22 | } NETSTATS; | ^~~~~~~~ src/network.h:29:32: error: 'NETFLAG_ALLOWSTATELESS' conflicts with a previous declaration 29 | NETFLAG_ALLOWSTATELESS=1, | ^ src/network.h:29:9: note: previous declaration ' NETFLAG_ALLOWSTATELESS' 29 | NETFLAG_ALLOWSTATELESS=1, | ^~~~~~~~~~~~~~~~~~~~~~ src/network.h:30:26: error: 'PACKETFLAG_VITAL' conflicts with a previous declaration 30 | PACKETFLAG_VITAL=1, | ^ src/network.h:30:9: note: previous declaration ' PACKETFLAG_VITAL' 30 | PACKETFLAG_VITAL=1, | ^~~~~~~~~~~~~~~~ src/network.h:31:29: error: 'PACKETFLAG_CONNLESS' conflicts with a previous declaration 31 | PACKETFLAG_CONNLESS=2, | ^ src/network.h:31:9: note: previous declaration ' PACKETFLAG_CONNLESS' 31 | PACKETFLAG_CONNLESS=2, | ^~~~~~~~~~~~~~~~~~~ src/network.h:33:26: error: 'NETSTATE_OFFLINE' conflicts with a previous declaration 33 | NETSTATE_OFFLINE=0, | ^ src/network.h:33:9: note: previous declaration ' NETSTATE_OFFLINE' 33 | NETSTATE_OFFLINE=0, | ^~~~~~~~~~~~~~~~ src/network.h:34:9: error: 'NETSTATE_CONNECTING' conflicts with a previous declaration 34 | NETSTATE_CONNECTING, | ^~~~~~~~~~~~~~~~~~~ src/network.h:34:9: note: previous declaration ' NETSTATE_CONNECTING' 34 | NETSTATE_CONNECTING, | ^~~~~~~~~~~~~~~~~~~ src/network.h:35:9: error: 'NETSTATE_ONLINE' conflicts with a previous declaration 35 | NETSTATE_ONLINE, | ^~~~~~~~~~~~~~~ src/network.h:35:9: note: previous declaration ' NETSTATE_ONLINE' 35 | NETSTATE_ONLINE, | ^~~~~~~~~~~~~~~ src/network.h:65:7: error: redefinition of 'class net_server' 65 | class net_server | ^~~~~~~~~~ src/network.h:65:7: note: previous definition of 'class net_server' 65 | class net_server | ^~~~~~~~~~ src/network.h:89:7: error: redefinition of 'class net_client' 89 | class net_client | ^~~~~~~~~~ src/network.h:89:7: note: previous definition of 'class net_client' 89 | class net_client | ^~~~~~~~~~ src/packet.h:152:9: error: 'socket_udp4' does not name a type 152 | socket_udp4 *socket; | ^~~~~~~~~~~ src/packet.h:174:19: error: 'socket_udp4' has not been declared 174 | void init(socket_udp4 *socket, const NETADDR4 *addr) | ^~~~~~~~~~~ src/packet.h: In member function 'void connection::init(int*, const NETADDR4*)': src/packet.h:177:23: error: 'class connection' has no member named 'socket' 177 | this->socket = socket; | ^~~~~~ src/packet.h: In member function 'void connection::send(packet*)': src/packet.h:195:17: error: 'socket' was not declared in this scope; did you mean 'packet'? 195 | socket->send(&address(), p->data(), p->size()); | ^~~~~~ | packet src/server.cpp: In member function 'bool server::run(const char*, const char*)': src/server.cpp:213:37: error: no matching function for call to 'net_server::open(int)' 213 | if(!game_socket.open(8303)) | ~~~~~~~~~~~~~~~~^~~~~~ src/server.cpp:213:37: note: there is 1 candidate src/network.h:72:13: note: candidate 1: 'int net_server::open(NETADDR4, int, int)' 72 | int open(NETADDR4 bindaddr, int max, int flags) { ptr = netserver_open(bindaddr, max, flags); return ptr != 0; } | ^~~~ src/network.h:72:13: note: candidate expects 3 arguments, 1 provided src/server.cpp:223:63: error: no matching function for call to 'NETADDR4::NETADDR4(int, int, int, int, int)' 223 | master_server = NETADDR4(0, 0, 0, 0, 0); | ^ src/server.cpp:223:63: note: there are 3 candidates In file included from src/server.cpp:4: src/base/system.h:343:3: note: candidate 1: 'NETADDR4::NETADDR4()' 343 | } NETADDR4; | ^~~~~~~~ src/base/system.h:343:3: note: candidate expects 0 arguments, 5 provided src/base/system.h:343:3: note: candidate 2: 'constexpr NETADDR4::NETADDR4(const NETADDR4&)' src/base/system.h:343:3: note: candidate expects 1 argument, 5 provided src/base/system.h:343:3: note: candidate 3: 'constexpr NETADDR4::NETADDR4(NETADDR4&&)' src/base/system.h:343:3: note: candidate expects 1 argument, 5 provided src/server.cpp:284:79: error: no matching function for call to 'NETADDR4::NETADDR4(int, int, int, int, int)' 284 | NETADDR4 me(127, 0, 0, 0, 8303); | ^ src/server.cpp:284:79: note: there are 3 candidates src/base/system.h:343:3: note: candidate 1: 'NETADDR4::NETADDR4()' 343 | } NETADDR4; | ^~~~~~~~ src/base/system.h:343:3: note: candidate expects 0 arguments, 5 provided src/base/system.h:343:3: note: candidate 2: 'constexpr NETADDR4::NETADDR4(const NETADDR4&)' src/base/system.h:343:3: note: candidate expects 1 argument, 5 provided src/base/system.h:343:3: note: candidate 3: 'constexpr NETADDR4::NETADDR4(NETADDR4&&)' src/base/system.h:343:3: note: candidate expects 1 argument, 5 provided src/server.cpp: In member function 'int server::find_client(const NETADDR4*)': src/server.cpp:409:75: error: no match for 'operator==' (operand types are 'const NETADDR4' and 'const NETADDR4') 409 | if(!clients[i].is_empty() && clients[i].address() == *addr) | ~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~ | | | | | const NETADDR4 | const NETADDR4 src/server.cpp: In member function 'void server::process_packet(packet*, NETADDR4*)': src/server.cpp:489:63: error: cannot convert 'net_server*' to 'int*' 489 | clients[id].conn.init(&game_socket, from); | ^~~~~~~~~~~~ | | | net_server* src/packet.h:174:32: note: initializing argument 1 of 'void connection::init(int*, const NETADDR4*)' 174 | void init(socket_udp4 *socket, const NETADDR4 *addr) | ~~~~~~~~~~~~~^~~~~~ src/server.cpp: In member function 'void server::pump_network()': src/server.cpp:556:53: error: no matching function for call to 'net_server::recv(NETADDR4*, void*, int)' 556 | int bytes = game_socket.recv(&from, p.data(), p.max_size()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server.cpp:556:53: note: there is 1 candidate src/network.h:78:13: note: candidate 1: 'int net_server::recv(NETPACKET*)' 78 | int recv(NETPACKET *packet) { return netserver_recv(ptr, packet); } | ^~~~ src/network.h:78:13: note: candidate expects 1 argument, 3 provided src/server.cpp: In member function 'void server::send_heartbeat(int, NETADDR4*, int, int, const char*, const char*)': src/server.cpp:610:33: error: no matching function for call to 'net_server::send(NETADDR4*, char [216], long long unsigned int)' 610 | game_socket.send(&master_server, buffer, sizeof(buffer)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server.cpp:610:33: note: there is 1 candidate src/network.h:79:13: note: candidate 1: 'int net_server::send(NETPACKET*)' 79 | int send(NETPACKET *packet) { return netserver_send(ptr, packet); } | ^~~~ src/network.h:79:13: note: candidate expects 1 argument, 3 provided src/game/game_client.cpp: In member function 'void health_texts::create(vec2, int)': src/game/game_client.cpp:301:31: warning: unused variable 'a' [-Wunused-variable] 301 | float a = j/(float)amount-0.5f; | ^ src/game/game_client.cpp: At global scope: src/game/game_client.cpp:188:13: warning: 'void cell_select(int, int, int, int)' defined but not used [-Wunused-function] 188 | static void cell_select(int x, int y, int w, int h) | ^~~~~~~~~~~ src/game/game_client.cpp:178:13: warning: 'void cell_select_ex_flip_x(int, int, float, float, float, float)' defined but not used [-Wunused-function] 178 | static void cell_select_ex_flip_x(int cx, int cy, float x, float y, float w, float h) | ^~~~~~~~~~~~~~~~~~~~~ src/game/game_server.cpp: In member function 'virtual void player::tick()': src/game/game_server.cpp:1421:62: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1421 | else if (input.activeweapon && iactiveweapon != (input.activeweapon & ~0x80000000)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/game_server.cpp: In member function 'virtual void powerup::tick()': src/game/game_server.cpp:1792:14: warning: variable 'oldpos' set but not used [-Wunused-but-set-variable] 1792 | vec2 oldpos = pos; | ^~~~~~ src/base/system.c:31:17: warning: 'EWOULDBLOCK' redefined 31 | #define EWOULDBLOCK WSAEWOULDBLOCK | ^~~~~~~~~~~ In file included from C:/Users/╨Я╨╛╨╗╨╕╤Й╤Г╨║ ╨Э╨╕╨║╨╕╤В╨░/scoop/apps/mingw/15.2.0-rt_v13-rev0/lib/gcc/x86_64-w64-mingw32/15.2.0/include/mm_malloc.h:29, from C:/Users/╨Я╨╛╨╗╨╕╤Й╤Г╨║ ╨Э╨╕╨║╨╕╤В╨░/scoop/apps/mingw/15.2.0-rt_v13-rev0/x86_64-w64-mingw32/include/malloc.h:138, from C:/Users/╨Я╨╛╨╗╨╕╤Й╤Г╨║ ╨Э╨╕╨║╨╕╤В╨░/scoop/apps/mingw/15.2.0-rt_v13-rev0/x86_64-w64-mingw32/include/stdlib.h:717, from C:/Users/╨Я╨╛╨╗╨╕╤Й╤Г╨║ ╨Э╨╕╨║╨╕╤В╨░/scoop/apps/mingw/15.2.0-rt_v13-rev0/lib/gcc/x86_64-w64-mingw32/15.2.0/include/c++/cstdlib:83, from C:/Users/╨Я╨╛╨╗╨╕╤Й╤Г╨║ ╨Э╨╕╨║╨╕╤В╨░/scoop/apps/mingw/15.2.0-rt_v13-rev0/lib/gcc/x86_64-w64-mingw32/15.2.0/include/c++/stdlib.h:36, from src/base/system.c:1: C:/Users/╨Я╨╛╨╗╨╕╤Й╤Г╨║ ╨Э╨╕╨║╨╕╤В╨░/scoop/apps/mingw/15.2.0-rt_v13-rev0/x86_64-w64-mingw32/include/errno.h:166:9: note: this is the location of the previous definition 166 | #define EWOULDBLOCK 140 | ^~~~~~~~~~~ src/base/system.c: In function 'void mem_free(void*)': src/base/system.c:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 127 | if(tail->guard != 0xbaadc0de) | ~~~~~~~~~~~~^~~~~~~~~~~~~ src/base/system.c: In function 'int io_seek(IOHANDLE, int, int)': src/base/system.c:195:13: warning: variable 'real_origin' set but not used [-Wunused-but-set-variable] 195 | int real_origin; | ^~~~~~~~~~~ src/base/system.c: In function 'NETSOCKET net_udp4_create(NETADDR4)': src/base/system.c:354:52: error: cannot convert 'int*' to 'const char*' 354 | setsockopt(sock, SOL_SOCKET, SO_BROADCAST, &broadcast, sizeof(broadcast)); | ^~~~~~~~~~ | | | int* In file included from src/base/system.c:27: C:/Users/╨Я╨╛╨╗╨╕╤Й╤Г╨║ ╨Э╨╕╨║╨╕╤В╨░/scoop/apps/mingw/15.2.0-rt_v13-rev0/x86_64-w64-mingw32/include/winsock2.h:1035:88: note: initializing argument 4 of 'int setsockopt(SOCKET, int, int, const char*, int)' 1035 | WINSOCK_API_LINKAGE int WSAAPI setsockopt(SOCKET s,int level,int optname,const char *optval,int optlen); | ~~~~~~~~~~~~^~~~~~ src/base/system.c: In function 'int net_udp4_send(NETSOCKET, const NETADDR4*, const void*, int)': src/base/system.c:366:31: error: invalid conversion from 'const void*' to 'const char*' [-fpermissive] 366 | d = sendto((int)sock, data, size, 0, &sa, sizeof(sa)); | ^~~~ | | | const void* C:/Users/╨Я╨╛╨╗╨╕╤Й╤Г╨║ ╨Э╨╕╨║╨╕╤В╨░/scoop/apps/mingw/15.2.0-rt_v13-rev0/x86_64-w64-mingw32/include/winsock2.h:1034:62: note: initializing argument 2 of 'int sendto(SOCKET, const char*, int, int, const sockaddr*, int)' 1034 | WINSOCK_API_LINKAGE int WSAAPI sendto(SOCKET s,const char *buf,int len,int flags,const struct sockaddr *to,int tolen); | ~~~~~~~~~~~~^~~ src/base/system.c: In function 'int net_udp4_recv(NETSOCKET, NETADDR4*, void*, int)': src/base/system.c:375:32: error: invalid conversion from 'void*' to 'char*' [-fpermissive] 375 | bytes = recvfrom(sock, data, maxsize, 0, &from, &fromlen); | ^~~~ | | | void* C:/Users/╨Я╨╛╨╗╨╕╤Й╤Г╨║ ╨Э╨╕╨║╨╕╤В╨░/scoop/apps/mingw/15.2.0-rt_v13-rev0/x86_64-w64-mingw32/include/winsock2.h:1029:58: note: initializing argument 2 of 'int recvfrom(SOCKET, char*, int, int, sockaddr*, int*)' 1029 | WINSOCK_API_LINKAGE int WSAAPI recvfrom(SOCKET s,char *buf,int len,int flags,struct sockaddr *from,int *fromlen); | ~~~~~~^~~ src/base/system.c: In function 'int net_tcp4_send(NETSOCKET, const void*, int)': src/base/system.c:480:23: error: invalid conversion from 'const void*' to 'const char*' [-fpermissive] 480 | d = send((int)sock, data, size, 0); | ^~~~ | | | const void* C:/Users/╨Я╨╛╨╗╨╕╤Й╤Г╨║ ╨Э╨╕╨║╨╕╤В╨░/scoop/apps/mingw/15.2.0-rt_v13-rev0/x86_64-w64-mingw32/include/winsock2.h:1033:60: note: initializing argument 2 of 'int send(SOCKET, const char*, int, int)' 1033 | WINSOCK_API_LINKAGE int WSAAPI send(SOCKET s,const char *buf,int len,int flags); | ~~~~~~~~~~~~^~~ src/base/system.c: In function 'int net_tcp4_recv(NETSOCKET, void*, int)': src/base/system.c:487:27: error: invalid conversion from 'void*' to 'char*' [-fpermissive] 487 | bytes = recv((int)sock, data, maxsize, 0); | ^~~~ | | | void* C:/Users/╨Я╨╛╨╗╨╕╤Й╤Г╨║ ╨Э╨╕╨║╨╕╤В╨░/scoop/apps/mingw/15.2.0-rt_v13-rev0/x86_64-w64-mingw32/include/winsock2.h:1028:54: note: initializing argument 2 of 'int recv(SOCKET, char*, int, int)' 1028 | WINSOCK_API_LINKAGE int WSAAPI recv(SOCKET s,char *buf,int len,int flags); | ~~~~~~^~~ make: *** [Makefile:16: all] Error 1