make -C libqtvc CC="clang" CFLAGS=" -Wall -O2" AR="ar" RANLIB="ranlib" clang -Wall -O2 netchan.c -c -o netchan.o make[1]: Entering directory `/home/moodles/fteqw/fteqtv/libqtvc' clang -Wall -O2 -c -o msvc_sucks.o msvc_sucks.c clang -Wall -O2 parse.c -c -o parse.o clang -Wall -O2 -c -o glibc_sucks.o glibc_sucks.c clang -Wall -O2 msg.c -c -o msg.o parse.c:121:2: warning: implicit declaration of function 'QTV_CleanupMap' is invalid in C99 [-Wimplicit-function-declaration] QTV_CleanupMap(tv); ^ parse.c:181:3: warning: implicit declaration of function 'QW_ClearViewerState' is invalid in C99 [-Wimplicit-function-declaration] QW_ClearViewerState(tv->controller); ^ parse.c:353:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] SendClientCommand(tv, text); ^~~~ parse.c:1481:3: warning: #warning QTV is meant to disconnect when servers tells it to. [-W#warnings] #warning QTV is meant to disconnect when servers tells it to. ^ parse.c:1712:6: warning: implicit declaration of function 'QTV_mkdir' is invalid in C99 [-Wimplicit-function-declaration] QTV_mkdir(tv->downloadname); ^ rm -f libqtvc.a ar r libqtvc.a msvc_sucks.o glibc_sucks.o ar: creating libqtvc.a ranlib libqtvc.a make[1]: Leaving directory `/home/moodles/fteqw/fteqtv/libqtvc' clang -Wall -O2 qw.c -c -o qw.o clang -Wall -O2 source.c -c -o source.o qw.c:169:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme") ^ qw.c:1205:2: warning: implicit declaration of function 'QTV_UpdatedServerInfo' is invalid in C99 [-Wimplicit-function-declaration] QTV_UpdatedServerInfo(sv); ^ clang -Wall -O2 bsp.c -c -o bsp.o source.c:733:2: warning: #warning This is incomplete! [-W#warnings] #warning This is incomplete! ^ source.c:751:2: warning: implicit declaration of function 'Fwd_SayToDownstream' is invalid in C99 [-Wimplicit-function-declaration] Fwd_SayToDownstream(qtv, message); ^ source.c:753:3: warning: #warning Send to viewers here too [-W#warnings] #warning Send to viewers here too ^ qw.c:2900:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] QW_PrintfToViewer(v, buf); ^~~ qw.c:4139:4: warning: implicit declaration of function 'Menu_Draw' is invalid in C99 [-Wimplicit-function-declaration] Menu_Draw(cluster, v); ^ clang -Wall -O2 rcon.c -c -o rcon.o rcon.c:394:30: warning: comparison between pointer and integer ('int *' and 'int') if (ctx->cluster->qwdsocket != INVALID_SOCKET) ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~ rcon.c:593:4: warning: implicit declaration of function 'SV_SayToViewers' is invalid in C99 [-Wimplicit-function-declaration] SV_SayToViewers(ctx->qtv, message); ^ rcon.c:625:30: warning: comparison between pointer and integer ('int *' and 'int') if (ctx->cluster->tcpsocket != INVALID_SOCKET) ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~ rcon.c:629:30: warning: comparison between pointer and integer ('int *' and 'int') if (ctx->cluster->tcpsocket != INVALID_SOCKET) ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~ 5 diagnostics generated. 3 diagnostics generated. clang -Wall -O2 mdfour.c -c -o mdfour.o clang -Wall -O2 crc.c -c -o crc.o clang -Wall -O2 control.c -c -o control.o 4 diagnostics generated. clang -Wall -O2 forward.c -c -o forward.o forward.c:616:3: warning: #warning This is not the place for this [-W#warnings] #warning This is not the place for this ^ clang -Wall -O2 pmove.c -c -o pmove.o clang -Wall -O2 menu.c -c -o menu.o clang -Wall -O2 httpsv.c -c -o httpsv.o httpsv.c:883:29: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration] suppliedname = s = fname + strlcpy(fname, svroot, sizeof(fname)); ^ httpsv.c:1018:6: warning: pointer types point to integer types with different sign assigning 'unsigned char *', expected 'char *' [-Wpointer-sign] uri = pend->inbuffer+4; ^ ~~~~~~~~~~~~~~~~ httpsv.c:1069:32: warning: backslash and newline separated by space #define REDIRECTIF(uri_,url_) \ ^ httpsv.c:1070:36: warning: backslash and newline separated by space if (urimatch(uri, uri_, urilen)) \ ^ httpsv.c:1071:5: warning: backslash and newline separated by space { \ ^ httpsv.c:1072:31: warning: backslash and newline separated by space s = "HTTP/1.0 302 Found\n" \ ^ httpsv.c:1073:28: warning: backslash and newline separated by space "Location: " url_ "\n" \ ^ httpsv.c:1074:11: warning: backslash and newline separated by space "\n"; \ ^ httpsv.c:1075:48: warning: backslash and newline separated by space Net_ProxySend(cluster, pend, s, strlen(s)); \ ^ httpsv.c:1084:6: warning: pointer types point to integer types with different sign assigning 'unsigned char *', expected 'char *' [-Wpointer-sign] uri = pend->inbuffer+4; ^ ~~~~~~~~~~~~~~~~ 1 diagnostic generated. 10 diagnostics generated. 4 diagnostics generated. clang -Wall -O2 netchan.o parse.o msg.o qw.o source.o bsp.o rcon.o mdfour.o crc.o control.o forward.o pmove.o menu.o httpsv.o -o qtv.db -lm -lc -Llibqtvc -lqtvc strip --strip-unneeded --remove-section=.comment qtv.db -o qtv