=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/quake6", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for quake6-0.0nb4 gmake[1]: Entering directory '/var/tmp/work/games/quake6/work/quakeforge/qw_client' Creating directory ../targets/qw_client/gl Creating directory ../targets/qw_client/gl Creating directory ../targets/qw_client/gl clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/cvar.o -c ../qw_common/cvar.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/crc.o -c ../common/crc.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/common.o -c ../qw_common/common.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/cmd.o -c ../qw_common/cmd.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/mathlib.o -c ../common/mathlib.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/register_check.o -c ../common/register_check.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/wad.o -c ../common/wad.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/zone.o -c ../common/zone.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/console.o -c ../qw_common/console.c ../common/zone.c:319:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 319 | int count, sum; | ^ clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/sbar.o -c sbar.c ../qw_common/console.c:430:7: warning: variable 'y' set but not used [-Wunused-but-set-variable] 430 | int y; | ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/view.o -c view.c 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/keys.o -c ../common/keys.c sbar.c:427:8: warning: address of array 't' will always evaluate to 'true' [-Wpointer-bool-conversion] 427 | if (!t || !t[0]) | ~^ sbar.c:901:15: warning: variable 'l' set but not used [-Wunused-but-set-variable] 901 | int i, k, l; | ^ view.c:202:8: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 202 | if ( fabs(cl.frames[(cls.netchan.outgoing_sequence-1)&UPDATE_MASK].cmd.forwardmove) < 200) | ^ view.c:202:8: note: use function 'abs' instead 202 | if ( fabs(cl.frames[(cls.netchan.outgoing_sequence-1)&UPDATE_MASK].cmd.forwardmove) < 200) | ^~~~ | abs 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/menu.o -c menu.c 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/cl_demo.o -c cl_demo.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/cl_input.o -c cl_input.c cl_demo.c:427:11: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char[1450]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 427 | buf.data = buf_data; | ^ ~~~~~~~~ menu.c:635:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 635 | if ((options_cursor == 15) | ~~~~~~~~~~~~~~~^~~~~ menu.c:635:22: note: remove extraneous parentheses around the comparison to silence this warning 635 | if ((options_cursor == 15) | ~ ^ ~ menu.c:635:22: note: use '=' to turn this equality comparison into an assignment 635 | if ((options_cursor == 15) | ^~ | = menu.c:734:10: warning: variable 'l' set but not used [-Wunused-but-set-variable] 734 | int i, l; | ^ menu.c:1038:26: warning: parameter 'key' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1038 | void M_SinglePlayer_Key (key) { | ^ menu.c:1038:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | void M_SinglePlayer_Key (key) { | ^ menu.c:1066:25: warning: parameter 'key' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1066 | void M_MultiPlayer_Key (key) { | ^ menu.c:1066:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | void M_MultiPlayer_Key (key) { | ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/cl_main.o -c cl_main.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/cl_parse.o -c cl_parse.c 6 warnings generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/cl_tent.o -c cl_tent.c cl_parse.c:367:13: warning: passing 'byte[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 367 | sprintf (name, "%s/%s", com_gamedir, cls.downloadtempname); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ cl_parse.c:369:13: warning: passing 'byte[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 369 | sprintf (name, "qw/%s", cls.downloadtempname); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ cl_parse.c:371:19: warning: passing 'byte[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 371 | COM_CreatePath (name); | ^~~~ ../qw_common/common.h:207:28: note: passing argument to parameter 'path' here 207 | void COM_CreatePath (char *path); | ^ cl_parse.c:373:25: warning: passing 'byte[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 373 | cls.download = fopen (name, "wb"); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:243:37: note: passing argument to parameter '__filename' here 243 | FILE *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); | ^ cl_main.c:344:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 344 | message[0] = 255; | ~ ^~~ cl_main.c:345:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 345 | message[1] = 255; | ~ ^~~ cl_main.c:346:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 346 | message[2] = 255; | ~ ^~~ cl_main.c:347:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 347 | message[3] = 255; | ~ ^~~ cl_main.c:450:11: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 450 | strcpy (final+1, "drop"); | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ cl_main.c:1081:7: warning: unused variable 'st' [-Wunused-variable] 1081 | char st[80]; | ^~ cl_main.c:1529:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 1529 | Con_Printf ("<80><81><81><81><81><81><81> QuakeWorld Initialized <81><81><81><81><81><81><82>\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/snd_null.o -c ../common/snd_null.c 4 warnings generated. 7 warnings generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/snd_mem.o -c ../common/snd_mem.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/snd_mix.o -c ../common/snd_mix.c ../common/snd_mem.c:215:8: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 215 | if (!Q_strncmp(data_p, name, 4)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../qw_common/common.h:147:38: note: expanded from macro 'Q_strncmp' 147 | #define Q_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:101:49: note: passing argument to parameter '__s1' here 101 | int strncmp(const char *_LIBC_UNSAFE_INDEXABLE __s1, | ^ ../common/snd_mem.c:266:19: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 266 | if (!(data_p && !Q_strncmp(data_p+8, "WAVE", 4))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../qw_common/common.h:147:38: note: expanded from macro 'Q_strncmp' 147 | #define Q_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:101:49: note: passing argument to parameter '__s1' here 101 | int strncmp(const char *_LIBC_UNSAFE_INDEXABLE __s1, | ^ ../common/snd_mem.c:307:18: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 307 | if (!strncmp (data_p + 28, "mark", 4)) | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:101:49: note: passing argument to parameter '__s1' here 101 | int strncmp(const char *_LIBC_UNSAFE_INDEXABLE __s1, | ^ ../common/snd_mix.c:360:6: warning: assigning to 'unsigned char *' from 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] 360 | sfx = (signed char *)sc->data + ch->pos; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DELF -x assembler-with-cpp -o ../targets/qw_client/gl/snd_mixa.o -c ../common/snd_mixa.s 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/cd_wrapper.o -c ../common/cd_wrapper.c 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/r_part.o -c r_part.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/cl_cam.o -c cl_cam.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/cl_ents.o -c cl_ents.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/cl_pred.o -c cl_pred.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/net_udp.o -c ../qw_common/net_udp.c cl_ents.c:522:9: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 522 | if ( abs(old_origin[i] - ent->origin[i]) > 128) | ^ cl_ents.c:522:9: note: use function 'fabsf' instead 522 | if ( abs(old_origin[i] - ent->origin[i]) > 128) | ^~~ | fabsf cl_ents.c:661:17: warning: variable 'info' set but not used [-Wunused-but-set-variable] 661 | player_info_t *info; | ^ clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/net_com.o -c ../common/net_com.c 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/mdfour.o -c ../common/mdfour.c ../qw_common/net_udp.c:78:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 78 | #endif __sun__ | ^ | // ../qw_common/net_udp.c:80:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 80 | #endif AF_INET6 | ^ | // ../qw_common/net_udp.c:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 196 | #endif IPV4_ONLY_STACK | ^ | // ../qw_common/net_udp.c:346:107: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 346 | ret = recvfrom (net_socket, net_message_buffer, sizeof(net_message_buffer), 0, (struct sockaddr *)&from, &fromlen); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:720:27: note: passing argument to parameter here 720 | socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); | ^ ../qw_common/net_udp.c:481:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 481 | if (getsockname (net_socket, (struct sockaddr *)&address, &namelen) == -1) | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ 5 warnings generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/net_chan.o -c ../qw_common/net_chan.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/skin.o -c ../common/skin.c ../common/mdfour.c:141:2: warning: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | memset(buf, 0, 128); | ^ ../common/mdfour.c:141:2: note: include the header or explicitly provide a declaration for 'memset' ../common/mdfour.c:142:9: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | if (n) memcpy(buf, in, n); | ^ ../common/mdfour.c:142:9: note: include the header or explicitly provide a declaration for 'memcpy' 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/sys_linux.o -c ../common/sys_linux.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/pmove.o -c ../qw_common/pmove.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/pmovetst.o -c ../qw_common/pmovetst.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/gl_screen.o -c gl_screen.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/gl_model.o -c gl_model.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/gl_draw.o -c ../common/gl_draw.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/gl_mesh.o -c ../common/gl_mesh.c ../common/gl_draw.c:754:15: warning: variable 'c' set but not used [-Wunused-but-set-variable] 754 | int v, u, c; | ^ ../common/gl_draw.c:1224:8: warning: variable 'samples' set but not used [-Wunused-but-set-variable] 1224 | int samples; | ^ clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/gl_refrag.o -c ../common/gl_refrag.c 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/gl_rlight.o -c gl_rlight.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/gl_rmain.o -c ../common/gl_rmain.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/gl_rmisc.o -c ../common/gl_rmisc.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/gl_rsurf.o -c ../common/gl_rsurf.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/gl_warp.o -c ../common/gl_warp.c ../common/gl_rmisc.c:260:17: warning: variable 'inheight' set but not used [-Wunused-but-set-variable] 260 | int inwidth, inheight; | ^ ../common/gl_rsurf.c:1468:8: warning: variable 'vertpage' set but not used [-Wunused-but-set-variable] 1468 | int vertpage; | ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/nonintel.o -c ../common/nonintel.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/gl_vidlinuxglx.o -c ../common/gl_vidlinuxglx.c 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/gl_ngraph.o -c gl_ngraph.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/common.o -c ../qw_common/common.c ../common/gl_vidlinuxglx.c:489:12: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 489 | gl_vendor = glGetString (GL_VENDOR); | ^ ~~~~~~~~~~~~~~~~~~~~~~~ ../common/gl_vidlinuxglx.c:491:14: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 491 | gl_renderer = glGetString (GL_RENDERER); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ ../common/gl_vidlinuxglx.c:494:13: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 494 | gl_version = glGetString (GL_VERSION); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ../common/gl_vidlinuxglx.c:496:16: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 496 | gl_extensions = glGetString (GL_EXTENSIONS); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/crc.o -c ../common/crc.c 4 warnings generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/cvar.o -c ../qw_common/cvar.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/cmd.o -c ../qw_common/cmd.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/mathlib.o -c ../common/mathlib.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/register_check.o -c ../common/register_check.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/wad.o -c ../common/wad.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/zone.o -c ../common/zone.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/console.o -c ../qw_common/console.c ../common/zone.c:319:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 319 | int count, sum; | ^ ../qw_common/console.c:430:7: warning: variable 'y' set but not used [-Wunused-but-set-variable] 430 | int y; | ^ clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/sbar.o -c sbar.c 1 warning generated. 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/view.o -c view.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/keys.o -c ../common/keys.c sbar.c:427:8: warning: address of array 't' will always evaluate to 'true' [-Wpointer-bool-conversion] 427 | if (!t || !t[0]) | ~^ sbar.c:901:15: warning: variable 'l' set but not used [-Wunused-but-set-variable] 901 | int i, k, l; | ^ view.c:202:8: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 202 | if ( fabs(cl.frames[(cls.netchan.outgoing_sequence-1)&UPDATE_MASK].cmd.forwardmove) < 200) | ^ view.c:202:8: note: use function 'abs' instead 202 | if ( fabs(cl.frames[(cls.netchan.outgoing_sequence-1)&UPDATE_MASK].cmd.forwardmove) < 200) | ^~~~ | abs 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/menu.o -c menu.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/cl_demo.o -c cl_demo.c 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/cl_input.o -c cl_input.c cl_demo.c:427:11: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char[1450]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 427 | buf.data = buf_data; | ^ ~~~~~~~~ menu.c:635:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 635 | if ((options_cursor == 15) | ~~~~~~~~~~~~~~~^~~~~ menu.c:635:22: note: remove extraneous parentheses around the comparison to silence this warning 635 | if ((options_cursor == 15) | ~ ^ ~ menu.c:635:22: note: use '=' to turn this equality comparison into an assignment 635 | if ((options_cursor == 15) | ^~ | = menu.c:734:10: warning: variable 'l' set but not used [-Wunused-but-set-variable] 734 | int i, l; | ^ menu.c:1038:26: warning: parameter 'key' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1038 | void M_SinglePlayer_Key (key) { | ^ menu.c:1038:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | void M_SinglePlayer_Key (key) { | ^ menu.c:1066:25: warning: parameter 'key' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1066 | void M_MultiPlayer_Key (key) { | ^ menu.c:1066:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | void M_MultiPlayer_Key (key) { | ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/cl_main.o -c cl_main.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/cl_parse.o -c cl_parse.c 6 warnings generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/cl_tent.o -c cl_tent.c cl_parse.c:367:13: warning: passing 'byte[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 367 | sprintf (name, "%s/%s", com_gamedir, cls.downloadtempname); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ cl_parse.c:369:13: warning: passing 'byte[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 369 | sprintf (name, "qw/%s", cls.downloadtempname); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ cl_parse.c:371:19: warning: passing 'byte[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 371 | COM_CreatePath (name); | ^~~~ ../qw_common/common.h:207:28: note: passing argument to parameter 'path' here 207 | void COM_CreatePath (char *path); | ^ cl_parse.c:373:25: warning: passing 'byte[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 373 | cls.download = fopen (name, "wb"); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:243:37: note: passing argument to parameter '__filename' here 243 | FILE *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); | ^ cl_main.c:344:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 344 | message[0] = 255; | ~ ^~~ cl_main.c:345:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 345 | message[1] = 255; | ~ ^~~ cl_main.c:346:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 346 | message[2] = 255; | ~ ^~~ cl_main.c:347:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 347 | message[3] = 255; | ~ ^~~ cl_main.c:450:11: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 450 | strcpy (final+1, "drop"); | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ cl_main.c:1081:7: warning: unused variable 'st' [-Wunused-variable] 1081 | char st[80]; | ^~ cl_main.c:1529:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 1529 | Con_Printf ("<80><81><81><81><81><81><81> QuakeWorld Initialized <81><81><81><81><81><81><82>\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/snd_null.o -c ../common/snd_null.c 4 warnings generated. 7 warnings generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/snd_mem.o -c ../common/snd_mem.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/snd_mix.o -c ../common/snd_mix.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DELF -x assembler-with-cpp -o ../targets/qw_client/x11/snd_mixa.o -c ../common/snd_mixa.s ../common/snd_mem.c:215:8: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 215 | if (!Q_strncmp(data_p, name, 4)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../qw_common/common.h:147:38: note: expanded from macro 'Q_strncmp' 147 | #define Q_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:101:49: note: passing argument to parameter '__s1' here 101 | int strncmp(const char *_LIBC_UNSAFE_INDEXABLE __s1, | ^ ../common/snd_mem.c:266:19: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 266 | i../common/snd_mix.cf: 360(!(data_p && !Q_s:6: warning: assigning to 'unsigned char *' from 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] trncmp(d 360 | sfx = ata_p+8, "WAVE", 4))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~( si../qw_common/common.h:147:38: gned chanote: expanded from macro 'Q_strncmp' 147 | #definr *)sc->e Q_strncmp(s1data + ch->pos; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ , s2, n) strncmp((s1), (s2), (n)) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:101:49: note: passing argument to parameter '__s1' here 101 | int strncmp(const char *_LIBC_UNSAFE_INDEXABLE __s1, | ^ ../common/snd_mem.c:307:18: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 307 | if (!strncmp (data_p + 28, "mark", 4)) | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:101:49: note: passing argument to parameter '__s1' here 101 | int strncmp(const char *_LIBC_UNSAFE_INDEXABLE __s1, | ^ 3 warnings generated. 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/cd_wrapper.o -c ../common/cd_wrapper.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/r_part.o -c r_part.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/cl_cam.o -c cl_cam.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/cl_ents.o -c cl_ents.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/cl_pred.o -c cl_pred.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/net_udp.o -c ../qw_common/net_udp.c cl_ents.c:522:9: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 522 | if ( abs(old_origin[i] - ent->origin[i]) > 128) | ^ cl_ents.c:522:9: note: use function 'fabsf' instead 522 | if ( abs(old_origin[i] - ent->origin[i]) > 128) | ^~~ | fabsf cl_ents.c:661:17: warning: variable 'info' set but not used [-Wunused-but-set-variable] 661 | player_info_t *info; | ^ clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/net_com.o -c ../common/net_com.c ../qw_common/net_udp.c:78:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 78 | #endif __sun__ | ^ | // ../qw_common/net_udp.c:80:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 80 | #endif AF_INET6 | ^ | // ../qw_common/net_udp.c:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 196 | #endif IPV4_ONLY_STACK | ^ | // ../qw_common/net_udp.c:346:107: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 346 | ret = recvfrom (net_socket, net_message_buffer, sizeof(net_message_buffer), 0, (struct sockaddr *)&from, &fromlen); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:720:27: note: passing argument to parameter here 720 | socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); | ^ ../qw_common/net_udp.c:481:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 481 | if (getsockname (net_socket, (struct sockaddr *)&address, &namelen) == -1) | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/mdfour.o -c ../common/mdfour.c 5 warnings generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/net_chan.o -c ../qw_common/net_chan.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/skin.o -c ../common/skin.c ../common/mdfour.c:141:2: warning: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | memset(buf, 0, 128); | ^ ../common/mdfour.c:141:2: note: include the header or explicitly provide a declaration for 'memset' ../common/mdfour.c:142:9: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | if (n) memcpy(buf, in, n); | ^ ../common/mdfour.c:142:9: note: include the header or explicitly provide a declaration for 'memcpy' 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/sys_linux.o -c ../common/sys_linux.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/pmove.o -c ../qw_common/pmove.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/pmovetst.o -c ../qw_common/pmovetst.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/screen.o -c screen.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/nonintel.o -c ../common/nonintel.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/draw.o -c ../common/draw.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/d_edge.o -c d_edge.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/d_fill.o -c ../common/d_fill.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/d_init.o -c ../common/d_init.c d_edge.c:125:12: warning: variable 'pplane' set but not used [-Wunused-but-set-variable] 125 | mplane_t *pplane; | ^ d_edge.c:201:27: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 201 | D_DrawSolidSurface (s, (int)s->data & 0xFF); | ^~~~~~~~~~~~ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/d_modech.o -c ../common/d_modech.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/d_part.o -c ../common/d_part.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/d_polyse.o -c ../common/d_polyse.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/d_scan.o -c d_scan.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/d_sky.o -c ../common/d_sky.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/d_sprite.o -c ../common/d_sprite.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/d_surf.o -c d_surf.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/d_vars.o -c ../common/d_vars.c d_surf.c:143:9: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 143 | size = (int)&((surfcache_t *)0)->data[size]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/d_zpoint.o -c ../common/d_zpoint.c 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/r_aclip.o -c ../common/r_aclip.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/r_alias.o -c ../common/r_alias.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/r_bsp.o -c ../common/r_bsp.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/r_draw.o -c r_draw.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/r_edge.o -c r_edge.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/r_efrag.o -c r_efrag.c r_edge.c:700:25: warning: signed shift result (0x7D0000000) requires 36 bits to represent, but 'int' only has 32 bits [-Wshift-overflow] 700 | edge_sentinel.u = 2000 << 24; // make sure nothing sorts past this | ~~~~ ^ ~~ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/r_light.o -c ../common/r_light.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/r_main.o -c r_main.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/r_misc.o -c r_misc.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/r_sky.o -c ../common/r_sky.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/r_sprite.o -c r_sprite.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/r_surf.o -c r_surf.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/r_vars.o -c ../common/r_vars.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/vid_x.o -c ../common/vid_x.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/model.o -c model.c clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common ../targets/qw_client/gl/common.o ../targets/qw_client/gl/crc.o ../targets/qw_client/gl/cvar.o ../targets/qw_client/gl/cmd.o ../targets/qw_client/gl/mathlib.o ../targets/qw_client/gl/register_check.o ../targets/qw_client/gl/wad.o ../targets/qw_client/gl/zone.o ../targets/qw_client/gl/console.o ../targets/qw_client/gl/sbar.o ../targets/qw_client/gl/view.o ../targets/qw_client/gl/keys.o ../targets/qw_client/gl/menu.o ../targets/qw_client/gl/cl_demo.o ../targets/qw_client/gl/cl_input.o ../targets/qw_client/gl/cl_main.o ../targets/qw_client/gl/cl_parse.o ../targets/qw_client/gl/cl_tent.o ../targets/qw_client/gl/snd_null.o ../targets/qw_client/gl/snd_mem.o ../targets/qw_client/gl/snd_mix.o ../targets/qw_client/gl/snd_mixa.o ../targets/qw_client/gl/cd_wrapper.o ../targets/qw_client/gl/r_part.o ../targets/qw_client/gl/cl_cam.o ../targets/qw_client/gl/cl_ents.o ../targets/qw_client/gl/cl_pred.o ../targets/qw_client/gl/net_udp.o ../targets/qw_client/gl/net_com.o ../targets/qw_client/gl/mdfour.o ../targets/qw_client/gl/net_chan.o ../targets/qw_client/gl/skin.o ../targets/qw_client/gl/sys_linux.o ../targets/qw_client/gl/pmove.o ../targets/qw_client/gl/pmovetst.o ../targets/qw_client/gl/gl_screen.o ../targets/qw_client/gl/gl_model.o ../targets/qw_client/gl/gl_draw.o ../targets/qw_client/gl/gl_mesh.o ../targets/qw_client/gl/gl_refrag.o ../targets/qw_client/gl/gl_rlight.o ../targets/qw_client/gl/gl_rmain.o ../targets/qw_client/gl/gl_rmisc.o ../targets/qw_client/gl/gl_rsurf.o ../targets/qw_client/gl/gl_warp.o ../targets/qw_client/gl/nonintel.o ../targets/qw_client/gl/gl_vidlinuxglx.o ../targets/qw_client/gl/gl_ngraph.o -lX11 -lXext -lGL -L/opt/pkg/lib -lm -o ../targets/qw_client/../qw-client-gl ../common/vid_x.c:168:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 168 | src = &framebuf->data [yi * framebuf->bytes_per_line]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../common/vid_x.c:584:13: warning: assigning to 'pixel_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 584 | vid.buffer = x_framebuffer[0]->data; | ^ ~~~~~~~~~~~~~~~~~~~~~~ ../common/vid_x.c:586:16: warning: assigning to 'pixel_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 586 | vid.conbuffer = x_framebuffer[0]->data; | ^ ~~~~~~~~~~~~~~~~~~~~~~ ../common/vid_x.c:895:14: warning: assigning to 'pixel_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 895 | vid.buffer = x_framebuffer[current_framebuffer]->data; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../common/vid_x.c:924:14: warning: assigning to 'pixel_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 924 | vid.buffer = x_framebuffer[current_framebuffer]->data; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. ld: warning: reducing alignment of section __DATA,__common from 0x8000 to 0x4000 because it exceeds segment maximum alignment clang -pipe -Os -I/opt/pkg/include -Did386=0 -pipe -Os -I/opt/pkg/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common ../targets/qw_client/x11/common.o ../targets/qw_client/x11/crc.o ../targets/qw_client/x11/cvar.o ../targets/qw_client/x11/cmd.o ../targets/qw_client/x11/mathlib.o ../targets/qw_client/x11/register_check.o ../targets/qw_client/x11/wad.o ../targets/qw_client/x11/zone.o ../targets/qw_client/x11/console.o ../targets/qw_client/x11/sbar.o ../targets/qw_client/x11/view.o ../targets/qw_client/x11/keys.o ../targets/qw_client/x11/menu.o ../targets/qw_client/x11/cl_demo.o ../targets/qw_client/x11/cl_input.o ../targets/qw_client/x11/cl_main.o ../targets/qw_client/x11/cl_parse.o ../targets/qw_client/x11/cl_tent.o ../targets/qw_client/x11/snd_null.o ../targets/qw_client/x11/snd_mem.o ../targets/qw_client/x11/snd_mix.o ../targets/qw_client/x11/snd_mixa.o ../targets/qw_client/x11/cd_wrapper.o ../targets/qw_client/x11/r_part.o ../targets/qw_client/x11/cl_cam.o ../targets/qw_client/x11/cl_ents.o ../targets/qw_client/x11/cl_pred.o ../targets/qw_client/x11/net_udp.o ../targets/qw_client/x11/net_com.o ../targets/qw_client/x11/mdfour.o ../targets/qw_client/x11/net_chan.o ../targets/qw_client/x11/skin.o ../targets/qw_client/x11/sys_linux.o ../targets/qw_client/x11/pmove.o ../targets/qw_client/x11/pmovetst.o ../targets/qw_client/x11/screen.o ../targets/qw_client/x11/nonintel.o ../targets/qw_client/x11/draw.o ../targets/qw_client/x11/d_edge.o ../targets/qw_client/x11/d_fill.o ../targets/qw_client/x11/d_init.o ../targets/qw_client/x11/d_modech.o ../targets/qw_client/x11/d_part.o ../targets/qw_client/x11/d_polyse.o ../targets/qw_client/x11/d_scan.o ../targets/qw_client/x11/d_sky.o ../targets/qw_client/x11/d_sprite.o ../targets/qw_client/x11/d_surf.o ../targets/qw_client/x11/d_vars.o ../targets/qw_client/x11/d_zpoint.o ../targets/qw_client/x11/r_aclip.o ../targets/qw_client/x11/r_alias.o ../targets/qw_client/x11/r_bsp.o ../targets/qw_client/x11/r_draw.o ../targets/qw_client/x11/r_edge.o ../targets/qw_client/x11/r_efrag.o ../targets/qw_client/x11/r_light.o ../targets/qw_client/x11/r_main.o ../targets/qw_client/x11/r_misc.o ../targets/qw_client/x11/r_sky.o ../targets/qw_client/x11/r_sprite.o ../targets/qw_client/x11/r_surf.o ../targets/qw_client/x11/r_vars.o ../targets/qw_client/x11/vid_x.o ../targets/qw_client/x11/model.o -lX11 -lXext -L/opt/pkg/lib -lm -o ../targets/qw_client/../qw-client-x11 ld: warning: reducing alignment of section __DATA,__common from 0x8000 to 0x4000 because it exceeds segment maximum alignment gmake[1]: Leaving directory '/var/tmp/work/games/quake6/work/quakeforge/qw_client' gmake[1]: Entering directory '/var/tmp/work/games/quake6/work/quakeforge/qw_server' clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/common.o -c ../qw_common/common.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/crc.o -c ../common/crc.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/cvar.o -c ../qw_common/cvar.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/cmd.o -c ../qw_common/cmd.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/mathlib.o -c ../common/mathlib.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/wad.o -c ../common/wad.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/zone.o -c ../common/zone.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/net_udp.o -c ../qw_common/net_udp.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/net_com.o -c ../common/net_com.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/mdfour.o -c ../common/mdfour.c ../common/mdfour.c:141:2: warning: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | memset(buf, 0, 128); | ^ ../common/mdfour.c:141:2: note: include the header or explicitly provide a declaration for 'memset' ../common/mdfour.c:142:9: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | if (n) memcpy(buf, in, n); | ^ ../common/mdfour.c:142:9: note: include the header or explicitly provide a declaration for 'memcpy' ../qw_common/net_udp.c:78:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 78 | #endif __sun__ | ^ | // ../qw_common/net_udp.c:80:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 80 | #endif AF_INET6 | ^ | // ../qw_common/net_udp.c:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 196 | #endif IPV4_ONLY_STACK | ^ | // ../qw_common/net_udp.c:346:107: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 346 | ret = recvfrom (net_socket, net_message_buffer, sizeof(net_message_buffer), 0, (struct sockaddr *)&from, &fromlen); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:720:27: note: passing argument to parameter here 720 | socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); | ^ ../qw_common/net_udp.c:481:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 481 | if (getsockname (net_socket, (struct sockaddr *)&address, &namelen) == -1) | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ 2 warnings generated. 5 warnings generated. clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/net_chan.o -c ../qw_common/net_chan.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/sv_main.o -c sv_main.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/sv_user.o -c sv_user.c sv_user.c:1247:11: warning: cast to smaller integer type 'int' from 'link_t *' (aka 'struct link_s *') [-Wpointer-to-int-cast] 1247 | check = EDICT_FROM_AREA(l); | ^~~~~~~~~~~~~~~~~~ ../common/progs.h:49:28: note: expanded from macro 'EDICT_FROM_AREA' 49 | #define EDICT_FROM_AREA(l) STRUCT_FROM_LINK(l,edict_t,area) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../qw_common/common.h:72:52: note: expanded from macro 'STRUCT_FROM_LINK' 72 | #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) | ^~~~~~~~~~~~~~~~~~~ clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/sv_move.o -c sv_move.c 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/sv_phys.o -c sv_phys.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/sv_ccmds.o -c sv_ccmds.c sv_move.c:321:28: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 321 | if ( ((rand()&3) & 1) || abs(deltay)>abs(deltax)) | ^ sv_move.c:321:28: note: use function 'fabsf' instead 321 | if ( ((rand()&3) & 1) || abs(deltay)>abs(deltax)) | ^~~ | fabsf sv_move.c:321:40: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 321 | if ( ((rand()&3) & 1) || abs(deltay)>abs(deltax)) | ^ sv_move.c:321:40: note: use function 'fabsf' instead 321 | if ( ((rand()&3) & 1) || abs(deltay)>abs(deltax)) | ^~~ | fabsf 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/sv_ents.o -c sv_ents.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/sv_init.o -c sv_init.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/sv_send.o -c sv_send.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/sv_nchan.o -c sv_nchan.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/world.o -c world.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/pr_cmds.o -c ../common/pr_cmds.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/pr_edict.o -c ../common/pr_edict.c world.c:276:11: warning: cast to smaller integer type 'int' from 'link_t *' (aka 'struct link_s *') [-Wpointer-to-int-cast] 276 | touch = EDICT_FROM_AREA(l); | ^~~~~~~~~~~~~~~~~~ ../common/progs.h:49:28: note: expanded from macro 'EDICT_FROM_AREA' 49 | #define EDICT_FROM_AREA(l) STRUCT_FROM_LINK(l,edict_t,area) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../qw_common/common.h:72:52: note: expanded from macro 'STRUCT_FROM_LINK' 72 | #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) | ^~~~~~~~~~~~~~~~~~~ world.c:726:11: warning: cast to smaller integer type 'int' from 'link_t *' (aka 'struct link_s *') [-Wpointer-to-int-cast] 726 | touch = EDICT_FROM_AREA(l); | ^~~~~~~~~~~~~~~~~~ ../common/progs.h:49:28: note: expanded from macro 'EDICT_FROM_AREA' 49 | #define EDICT_FROM_AREA(l) STRUCT_FROM_LINK(l,edict_t,area) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../qw_common/common.h:72:52: note: expanded from macro 'STRUCT_FROM_LINK' 72 | #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) | ^~~~~~~~~~~~~~~~~~~ ../common/pr_cmds.c:1787:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1787 | fprintf (sv_fraglogfile, s); | ^ ../common/pr_cmds.c:1787:28: note: treat the string as an argument to avoid this 1787 | fprintf (sv_fraglogfile, s); | ^ | "%s", 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/pr_exec.o -c ../common/pr_exec.c ../common/pr_edict.c:422:22: warning: trigraph ignored [-Wtrigraphs] 422 | sprintf (line,"%i(???)", ofs); | ^ ../common/pr_edict.c:445:22: warning: trigraph ignored [-Wtrigraphs] 445 | sprintf (line,"%i(???)", ofs); | ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/sys_unix.o -c sys_unix.c 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/pmove.o -c ../qw_common/pmove.c clang -pipe -Os -I/opt/pkg/include -DQUAKEWORLD -DSERVERONLY -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DSRV -o ../targets/qw_server/srv/pmovetst.o -c ../qw_common/pmovetst.c sys_unix.c:59:14: error: variable has incomplete type 'struct stat' 59 | struct stat buf; | ^ sys_unix.c:59:9: note: forward declaration of 'struct stat' 59 | struct stat buf; | ^ sys_unix.c:61:6: warning: call to undeclared function 'stat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | if (stat (path,&buf) == -1) | ^ sys_unix.c:76:6: warning: call to undeclared function 'mkdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | if (mkdir (path, 0777) != -1) | ^ sys_unix.c:78:6: error: use of undeclared identifier 'errno' 78 | if (errno != EEXIST) | ^ sys_unix.c:78:15: error: use of undeclared identifier 'EEXIST' 78 | if (errno != EEXIST) | ^ sys_unix.c:79:44: error: use of undeclared identifier 'errno' 79 | Sys_Error ("mkdir %s: %s",path, strerror(errno)); | ^ sys_unix.c:91:18: error: variable has incomplete type 'struct timezone' 91 | struct timezone tzp; | ^ sys_unix.c:91:9: note: forward declaration of 'struct timezone' 91 | struct timezone tzp; | ^ sys_unix.c:94:2: warning: call to undeclared function 'gettimeofday'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | gettimeofday(&tp, &tzp); | ^ sys_unix.c:184:8: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 184 | len = read (0, text, sizeof(text)); | ^ sys_unix.c:268:7: warning: call to undeclared function 'select'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | if (select (net_socket+1, &fdset, NULL, NULL, &timeout) == -1) | ^ sys_unix.c:281:4: warning: call to undeclared function 'usleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 281 | usleep (sys_extrasleep.value); | ^ 6 warnings and 5 errors generated. gmake[1]: *** [Makefile:109: ../targets/qw_server/srv/sys_unix.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory '/var/tmp/work/games/quake6/work/quakeforge/qw_server' gmake: *** [Makefile:8: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/quake6 *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/quake6