WARNING: [license.mk] Every package should define a LICENSE. ===> Building for quake6-0.0nb4 gmake[1]: Entering directory '/Users/pbulk/build/games/quake6/work/quakeforge/qw_client' 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/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/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/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/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 ../qw_common/console.c:430:7: warning: variable 'y' set but not used [-Wunused-but-set-variable] 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/sbar.o -c sbar.c sbar.c:427:8: warning: address of array 't' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!t || !t[0]) ~^ sbar.c:901:15: warning: variable 'l' set but not used [-Wunused-but-set-variable] int i, k, l; ^ 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/view.o -c view.c view.c:202:8: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] if ( fabs(cl.frames[(cls.netchan.outgoing_sequence-1)&UPDATE_MASK].cmd.forwardmove) < 200) ^ view.c:202:8: note: use function 'abs' instead 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/keys.o -c ../common/keys.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/menu.o -c menu.c menu.c:635:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((options_cursor == 15) ~~~~~~~~~~~~~~~^~~~~ menu.c:635:22: note: remove extraneous parentheses around the comparison to silence this warning if ((options_cursor == 15) ~ ^ ~~ menu.c:635:22: note: use '=' to turn this equality comparison into an assignment if ((options_cursor == 15) ^~ = menu.c:734:10: warning: variable 'l' set but not used [-Wunused-but-set-variable] int i, l; ^ 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 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] buf.data = buf_data; ^ ~~~~~~~~ 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_input.o -c cl_input.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_main.o -c cl_main.c cl_main.c:344:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] message[0] = 255; ~ ^~~ cl_main.c:345:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] message[1] = 255; ~ ^~~ cl_main.c:346:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] message[2] = 255; ~ ^~~ cl_main.c:347:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 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] strcpy (final+1, "drop"); ^~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ cl_main.c:1081:7: warning: unused variable 'st' [-Wunused-variable] char st[80]; ^ cl_main.c:1529:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] Con_Printf ("<80><81><81><81><81><81><81> QuakeWorld Initialized <81><81><81><81><81><81><82>\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/cl_parse.o -c cl_parse.c cl_parse.c:367:13: warning: passing 'byte [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] sprintf (name, "%s/%s", com_gamedir, cls.downloadtempname); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ cl_parse.c:369:13: warning: passing 'byte [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] sprintf (name, "qw/%s", cls.downloadtempname); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ cl_parse.c:371:19: warning: passing 'byte [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] COM_CreatePath (name); ^~~~ ../qw_common/common.h:207:28: note: passing argument to parameter 'path' here void COM_CreatePath (char *path); ^ cl_parse.c:373:25: warning: passing 'byte [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] cls.download = fopen (name, "wb"); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:153:37: note: passing argument to parameter '__filename' here FILE *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); ^ 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 -DGLQUAKE -I/usr/local/include -I/opt/pkg/include -o ../targets/qw_client/gl/cl_tent.o -c cl_tent.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_null.o -c ../common/snd_null.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_mem.o -c ../common/snd_mem.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] if (!Q_strncmp(data_p, name, 4)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../qw_common/common.h:147:38: note: expanded from macro 'Q_strncmp' #define Q_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ ../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] if (!(data_p && !Q_strncmp(data_p+8, "WAVE", 4))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../qw_common/common.h:147:38: note: expanded from macro 'Q_strncmp' #define Q_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ ../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] if (!strncmp (data_p + 28, "mark", 4)) ^~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ 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/snd_mix.o -c ../common/snd_mix.c ../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] sfx = (signed char *)sc->data + ch->pos; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -DELF -x assembler-with-cpp -o ../targets/qw_client/gl/snd_mixa.o -c ../common/snd_mixa.s 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 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 cl_ents.c:522:9: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if ( abs(old_origin[i] - ent->origin[i]) > 128) ^ cl_ents.c:522:9: note: use function 'fabsf' instead 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] player_info_t *info; ^ 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_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 ../qw_common/net_udp.c:78:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __sun__ ^ // ../qw_common/net_udp.c:80:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif AF_INET6 ^ // ../qw_common/net_udp.c:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #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] ret = recvfrom (net_socket, net_message_buffer, sizeof(net_message_buffer), 0, (struct sockaddr *)&from, &fromlen); ^~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:716:27: note: passing argument to parameter here 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] if (getsockname (net_socket, (struct sockaddr *)&address, &namelen) == -1) ^~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here 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_com.o -c ../common/net_com.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/mdfour.o -c ../common/mdfour.c ../common/mdfour.c:141:2: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration] memset(buf, 0, 128); ^ ../common/mdfour.c:141:2: note: include the header <string.h> or explicitly provide a declaration for 'memset' ../common/mdfour.c:142:9: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] if (n) memcpy(buf, in, n); ^ ../common/mdfour.c:142:9: note: include the header <string.h> 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/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 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 ../common/gl_draw.c:754:15: warning: variable 'c' set but not used [-Wunused-but-set-variable] int v, u, c; ^ ../common/gl_draw.c:1224:8: warning: variable 'samples' set but not used [-Wunused-but-set-variable] int samples; ^ 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_mesh.o -c ../common/gl_mesh.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_refrag.o -c ../common/gl_refrag.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_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 ../common/gl_rmisc.c:260:17: warning: variable 'inheight' set but not used [-Wunused-but-set-variable] int inwidth, inheight; ^ 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_rsurf.o -c ../common/gl_rsurf.c ../common/gl_rsurf.c:1468:8: warning: variable 'vertpage' set but not used [-Wunused-but-set-variable] 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/gl_warp.o -c ../common/gl_warp.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/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 ../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] 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] 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] 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] gl_extensions = glGetString (GL_EXTENSIONS); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 ../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 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 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 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 ../qw_common/console.c:430:7: warning: variable 'y' set but not used [-Wunused-but-set-variable] 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 -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/sbar.o -c sbar.c sbar.c:427:8: warning: address of array 't' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!t || !t[0]) ~^ sbar.c:901:15: warning: variable 'l' set but not used [-Wunused-but-set-variable] int i, k, l; ^ 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/view.o -c view.c view.c:202:8: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] if ( fabs(cl.frames[(cls.netchan.outgoing_sequence-1)&UPDATE_MASK].cmd.forwardmove) < 200) ^ view.c:202:8: note: use function 'abs' instead 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 -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/keys.o -c ../common/keys.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/menu.o -c menu.c menu.c:635:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((options_cursor == 15) ~~~~~~~~~~~~~~~^~~~~ menu.c:635:22: note: remove extraneous parentheses around the comparison to silence this warning if ((options_cursor == 15) ~ ^ ~~ menu.c:635:22: note: use '=' to turn this equality comparison into an assignment if ((options_cursor == 15) ^~ = menu.c:734:10: warning: variable 'l' set but not used [-Wunused-but-set-variable] int i, l; ^ 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/cl_demo.o -c cl_demo.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] buf.data = buf_data; ^ ~~~~~~~~ 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 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 cl_main.c:344:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] message[0] = 255; ~ ^~~ cl_main.c:345:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] message[1] = 255; ~ ^~~ cl_main.c:346:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] message[2] = 255; ~ ^~~ cl_main.c:347:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 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] strcpy (final+1, "drop"); ^~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ cl_main.c:1081:7: warning: unused variable 'st' [-Wunused-variable] char st[80]; ^ cl_main.c:1529:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] Con_Printf ("<80><81><81><81><81><81><81> QuakeWorld Initialized <81><81><81><81><81><81><82>\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/cl_parse.o -c cl_parse.c cl_parse.c:367:13: warning: passing 'byte [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] sprintf (name, "%s/%s", com_gamedir, cls.downloadtempname); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ cl_parse.c:369:13: warning: passing 'byte [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] sprintf (name, "qw/%s", cls.downloadtempname); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ cl_parse.c:371:19: warning: passing 'byte [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] COM_CreatePath (name); ^~~~ ../qw_common/common.h:207:28: note: passing argument to parameter 'path' here void COM_CreatePath (char *path); ^ cl_parse.c:373:25: warning: passing 'byte [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] cls.download = fopen (name, "wb"); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:153:37: note: passing argument to parameter '__filename' here FILE *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); ^ 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/cl_tent.o -c cl_tent.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_null.o -c ../common/snd_null.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_mem.o -c ../common/snd_mem.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] if (!Q_strncmp(data_p, name, 4)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../qw_common/common.h:147:38: note: expanded from macro 'Q_strncmp' #define Q_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ ../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] if (!(data_p && !Q_strncmp(data_p+8, "WAVE", 4))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../qw_common/common.h:147:38: note: expanded from macro 'Q_strncmp' #define Q_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ ../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] if (!strncmp (data_p + 28, "mark", 4)) ^~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ 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 -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/snd_mix.o -c ../common/snd_mix.c ../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] sfx = (signed char *)sc->data + ch->pos; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -DELF -x assembler-with-cpp -o ../targets/qw_client/x11/snd_mixa.o -c ../common/snd_mixa.s 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 cl_ents.c:522:9: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if ( abs(old_origin[i] - ent->origin[i]) > 128) ^ cl_ents.c:522:9: note: use function 'fabsf' instead 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] player_info_t *info; ^ 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/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 ../qw_common/net_udp.c:78:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __sun__ ^ // ../qw_common/net_udp.c:80:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif AF_INET6 ^ // ../qw_common/net_udp.c:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #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] ret = recvfrom (net_socket, net_message_buffer, sizeof(net_message_buffer), 0, (struct sockaddr *)&from, &fromlen); ^~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:716:27: note: passing argument to parameter here 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] if (getsockname (net_socket, (struct sockaddr *)&address, &namelen) == -1) ^~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here 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 -DX11 -I/opt/pkg/include -o ../targets/qw_client/x11/net_com.o -c ../common/net_com.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/mdfour.o -c ../common/mdfour.c ../common/mdfour.c:141:2: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration] memset(buf, 0, 128); ^ ../common/mdfour.c:141:2: note: include the header <string.h> or explicitly provide a declaration for 'memset' ../common/mdfour.c:142:9: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] if (n) memcpy(buf, in, n); ^ ../common/mdfour.c:142:9: note: include the header <string.h> 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/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 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 d_edge.c:125:12: warning: variable 'pplane' set but not used [-Wunused-but-set-variable] mplane_t *pplane; ^ d_edge.c:201:27: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 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_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 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 d_surf.c:143:9: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] size = (int)&((surfcache_t *)0)->data[size]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/d_vars.o -c ../common/d_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/d_zpoint.o -c ../common/d_zpoint.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_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 r_edge.c:700:25: warning: signed shift result (0x7D0000000) requires 36 bits to represent, but 'int' only has 32 bits [-Wshift-overflow] 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_efrag.o -c r_efrag.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_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 ../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] 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] 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] 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] 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] vid.buffer = x_framebuffer[current_framebuffer]->data; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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/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 gmake[1]: Leaving directory '/Users/pbulk/build/games/quake6/work/quakeforge/qw_client' gmake[1]: Entering directory '/Users/pbulk/build/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 ../qw_common/net_udp.c:78:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __sun__ ^ // ../qw_common/net_udp.c:80:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif AF_INET6 ^ // ../qw_common/net_udp.c:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #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] ret = recvfrom (net_socket, net_message_buffer, sizeof(net_message_buffer), 0, (struct sockaddr *)&from, &fromlen); ^~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:716:27: note: passing argument to parameter here 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] if (getsockname (net_socket, (struct sockaddr *)&address, &namelen) == -1) ^~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ 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_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: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration] memset(buf, 0, 128); ^ ../common/mdfour.c:141:2: note: include the header <string.h> or explicitly provide a declaration for 'memset' ../common/mdfour.c:142:9: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] if (n) memcpy(buf, in, n); ^ ../common/mdfour.c:142:9: note: include the header <string.h> or explicitly provide a declaration for 'memcpy' 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/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] check = EDICT_FROM_AREA(l); ^~~~~~~~~~~~~~~~~~ ../common/progs.h:49:28: note: expanded from macro 'EDICT_FROM_AREA' #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' #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) ^~~~~~~~~~~~~~~~~~~ 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_move.o -c sv_move.c sv_move.c:321:28: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if ( ((rand()&3) & 1) || abs(deltay)>abs(deltax)) ^ sv_move.c:321:28: note: use function 'fabsf' instead 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] if ( ((rand()&3) & 1) || abs(deltay)>abs(deltax)) ^ sv_move.c:321:40: note: use function 'fabsf' instead 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_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 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 world.c:276:11: warning: cast to smaller integer type 'int' from 'link_t *' (aka 'struct link_s *') [-Wpointer-to-int-cast] touch = EDICT_FROM_AREA(l); ^~~~~~~~~~~~~~~~~~ ../common/progs.h:49:28: note: expanded from macro 'EDICT_FROM_AREA' #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' #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] touch = EDICT_FROM_AREA(l); ^~~~~~~~~~~~~~~~~~ ../common/progs.h:49:28: note: expanded from macro 'EDICT_FROM_AREA' #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' #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) ^~~~~~~~~~~~~~~~~~~ 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_cmds.o -c ../common/pr_cmds.c ../common/pr_cmds.c:1787:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (sv_fraglogfile, s); ^ ../common/pr_cmds.c:1787:28: note: treat the string as an argument to avoid this fprintf (sv_fraglogfile, s); ^ "%s", 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/pr_edict.o -c ../common/pr_edict.c ../common/pr_edict.c:422:22: warning: trigraph ignored [-Wtrigraphs] sprintf (line,"%i(???)", ofs); ^ ../common/pr_edict.c:445:22: warning: trigraph ignored [-Wtrigraphs] sprintf (line,"%i(???)", ofs); ^ 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 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 sys_unix.c:59:14: error: variable has incomplete type 'struct stat' struct stat buf; ^ sys_unix.c:59:9: note: forward declaration of 'struct stat' struct stat buf; ^ sys_unix.c:61:6: warning: implicit declaration of function 'stat' is invalid in C99 [-Wimplicit-function-declaration] if (stat (path,&buf) == -1) ^ sys_unix.c:76:6: warning: implicit declaration of function 'mkdir' is invalid in C99 [-Wimplicit-function-declaration] if (mkdir (path, 0777) != -1) ^ sys_unix.c:78:6: error: use of undeclared identifier 'errno' if (errno != EEXIST) ^ sys_unix.c:78:15: error: use of undeclared identifier 'EEXIST' if (errno != EEXIST) ^ sys_unix.c:79:44: error: use of undeclared identifier 'errno' Sys_Error ("mkdir %s: %s",path, strerror(errno)); ^ sys_unix.c:91:18: error: variable has incomplete type 'struct timezone' struct timezone tzp; ^ sys_unix.c:91:9: note: forward declaration of 'struct timezone' struct timezone tzp; ^ sys_unix.c:94:2: warning: implicit declaration of function 'gettimeofday' is invalid in C99 [-Wimplicit-function-declaration] gettimeofday(&tp, &tzp); ^ sys_unix.c:184:8: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] len = read (0, text, sizeof(text)); ^ sys_unix.c:268:7: warning: implicit declaration of function 'select' is invalid in C99 [-Wimplicit-function-declaration] if (select (net_socket+1, &fdset, NULL, NULL, &timeout) == -1) ^ sys_unix.c:281:4: warning: implicit declaration of function 'usleep' is invalid in C99 [-Wimplicit-function-declaration] 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]: Leaving directory '/Users/pbulk/build/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-x86_64/games/quake6 *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/games/quake6