make -C libqtvc CC="icc" CFLAGS=" -Wall -O2" AR="ar" RANLIB="ranlib" icc -Wall -O2 netchan.c -c -o netchan.o make[1]: Entering directory `/home/moodles/fteqw/fteqw/trunk/fteqtv/libqtvc' icc -Wall -O2 -c -o msvc_sucks.o msvc_sucks.c icc -Wall -O2 parse.c -c -o parse.o icc -Wall -O2 -c -o glibc_sucks.o glibc_sucks.c parse.c(104): remark #1418: external function definition with no prior declaration void ConnectionData(sv_t *tv, void *buffer, int length, int to, unsigned int playermask, int suitablefor) ^ glibc_sucks.c(28): remark #1418: external function definition with no prior declaration strlcpy(char *dst, const char *src, size_t siz) ^ netchan.c(169): remark #1418: external function definition with no prior declaration void Netchan_Init (netadr_t adr) ^ netchan.c(169): remark #869: parameter "adr" was never referenced void Netchan_Init (netadr_t adr) ^ netchan.c(188): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits chan->qport = qport; ^ netchan.c(229): remark #1418: external function definition with no prior declaration qboolean Netchan_CanReliable (netchan_t *chan) ^ netchan.c(468): warning #188: enumerated type mixed with another type return 1; ^ netchan.c(498): warning #188: enumerated type mixed with another type return 2; //we can read it now ^ parse.c(121): remark #266: function "QTV_CleanupMap" declared implicitly QTV_CleanupMap(tv); ^ parse.c(181): remark #266: function "QW_ClearViewerState" declared implicitly QW_ClearViewerState(tv->controller); ^ parse.c(115): remark #869: parameter "playermask" was never referenced static void ParseServerData(sv_t *tv, netmsg_t *m, int to, unsigned int playermask) ^ parse.c(194): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits nqversion[1] = tv->map.cdtrack; ^ parse.c(195): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits nqversion[2] = tv->map.cdtrack; ^ parse.c(448): remark #869: parameter "tv" was never referenced static int ParseList(sv_t *tv, netmsg_t *m, filename_t *list, int to, unsigned int mask) ^ parse.c(448): remark #869: parameter "to" was never referenced static int ParseList(sv_t *tv, netmsg_t *m, filename_t *list, int to, unsigned int mask) ^ parse.c(448): remark #869: parameter "mask" was never referenced static int ParseList(sv_t *tv, netmsg_t *m, filename_t *list, int to, unsigned int mask) ^ parse.c(525): remark #1418: external function definition with no prior declaration void ParseSpawnStatic(sv_t *tv, netmsg_t *m, int to, unsigned int mask) ^ parse.c(540): remark #1419: external declaration in primary source file extern const usercmd_t nullcmd; ^ parse.c(596): remark #2259: non-pointer conversion from "float" to "short" may lose significant bits tv->map.players[num].current.angles[0] = tv->proxyplayerangles[0]/360*65535; ^ parse.c(597): remark #2259: non-pointer conversion from "float" to "short" may lose significant bits tv->map.players[num].current.angles[1] = tv->proxyplayerangles[1]/360*65535; ^ parse.c(598): remark #2259: non-pointer conversion from "float" to "short" may lose significant bits tv->map.players[num].current.angles[2] = tv->proxyplayerangles[2]/360*65535; ^ parse.c(610): warning #188: enumerated type mixed with another type tv->map.players[num].gibbed = !!(flags & PF_GIB); ^ parse.c(611): warning #188: enumerated type mixed with another type tv->map.players[num].dead = !!(flags & PF_DEAD); ^ parse.c(616): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits tv->map.players[num].current.modelindex = tv->map.modelindex_player; ^ parse.c(638): warning #188: enumerated type mixed with another type tv->map.players[num].gibbed = !!(flags & DF_GIB); ^ parse.c(639): warning #188: enumerated type mixed with another type tv->map.players[num].dead = !!(flags & DF_DEAD); ^ parse.c(904): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits newframe->entnums[newindex] = newnum; ^ parse.c(919): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits newframe->entnums[newindex] = newnum; ^ parse.c(1026): remark #869: parameter "to" was never referenced static void ParseUpdateStat(sv_t *tv, netmsg_t *m, int to, unsigned int mask) ^ parse.c(1048): remark #869: parameter "to" was never referenced static void ParseUpdateStatLong(sv_t *tv, netmsg_t *m, int to, unsigned int mask) ^ parse.c(1149): remark #2259: non-pointer conversion from "double" to "unsigned char" may lose significant bits atten = ReadByte (m) / 64.0; ^ parse.c(1167): remark #1572: floating-point equality and inequality comparisons are unreliable if (atten != DEFAULT_SOUND_PACKET_ATTENUATION) ^ parse.c(1174): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits nqversion[nqlen++] = atten*64; ^ parse.c(1178): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits nqversion[nqlen++] = (channel&0x00ff)>>0; ^ parse.c(1179): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits nqversion[nqlen++] = (channel&0xff00)>>8; ^ parse.c(1133): remark #593: variable "org" was set but never used short org[3]; ^ parse.c(1219): remark #271: trailing comma is nonstandard TE_LIGHTNINGBLOOD = 13, ^ parse.c(1325): remark #1418: external function definition with no prior declaration void ParseLightstyle(sv_t *tv, netmsg_t *m) ^ parse.c(1342): remark #1418: external function definition with no prior declaration void ParseNails(sv_t *tv, netmsg_t *m, qboolean nails2) ^ parse.c(1362): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits tv->map.nails[count].number = count; ^ parse.c(1368): remark #1418: external function definition with no prior declaration void ParseDownload(sv_t *tv, netmsg_t *m) ^ parse.c(1418): remark #181: argument is incompatible with corresponding format string conversion SendClientCommand(tv, "prespawn %i 0 %i\n", tv->clservercount, LittleLong(BSP_Checksum(tv->map.bsp))); ^ parse.c(1424): remark #181: argument is incompatible with corresponding format string conversion snprintf(tv->status, sizeof(tv->status), "Downloading map, %i%%\n", percent); ^ parse.c(1469): warning #1224: #warning directive: QTV is meant to disconnect when servers tells it to. #warning QTV is meant to disconnect when servers tells it to. ^ parse.c(1510): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits tv->proxyplayerangles[0] = ReadByte(&buf)*360.0/255; ^ parse.c(1511): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits tv->proxyplayerangles[1] = ReadByte(&buf)*360.0/255; ^ parse.c(1512): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits tv->proxyplayerangles[2] = ReadByte(&buf)*360.0/255; ^ parse.c(1520): remark #2259: non-pointer conversion from "float" to "char" may lose significant bits nq[1] = tv->proxyplayerangles[0]; ^ parse.c(1521): remark #2259: non-pointer conversion from "float" to "char" may lose significant bits nq[2] = tv->proxyplayerangles[1]; ^ parse.c(1522): remark #2259: non-pointer conversion from "float" to "char" may lose significant bits nq[3] = tv->proxyplayerangles[2]; ^ parse.c(1518): remark #593: variable "nq" was set but never used char nq[4]; ^ parse.c(1575): warning #188: enumerated type mixed with another type tv->map.ispaused = ReadByte(&buf); ^ parse.c(1700): remark #266: function "QTV_mkdir" declared implicitly QTV_mkdir(tv->downloadname); ^ parse.c(1706): remark #181: argument is incompatible with corresponding format string conversion SendClientCommand(tv, "prespawn %i 0 %i\n", tv->clservercount, LittleLong(BSP_Checksum(tv->map.bsp))); ^ parse.c(1710): remark #1599: declaration hides parameter "buffer" (declared at line 1429) char buffer[512]; ^ parse.c(1722): remark #181: argument is incompatible with corresponding format string conversion SendClientCommand(tv, "prespawn %i 0 %i\n", tv->clservercount, LittleLong(BSP_Checksum(tv->map.bsp))); ^ parse.c(1778): remark #181: argument is incompatible with corresponding format string conversion Sys_Printf(tv->cluster, "Can't handle svc %i\n", (unsigned int)ReadByte(&buf)); ^ icc -Wall -O2 msg.c -c -o msg.o msg.c(26): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits return b1 | (b2<<8); ^ msg.c(103): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(b, (l&0x00ff)>>0); ^ msg.c(104): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(b, (l&0xff00)>>8); ^ msg.c(108): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits WriteByte(b, (l&0x000000ff)>>0); ^ msg.c(109): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits WriteByte(b, (l&0x0000ff00)>>8); ^ msg.c(110): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits WriteByte(b, (l&0x00ff0000)>>16); ^ msg.c(111): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits WriteByte(b, (l&0xff000000)>>24); ^ msg.c(142): (col. 2) remark: LOOP WAS VECTORIZEDicc -Wall -O2 qw.c -c -o qw.o 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/fteqw/trunk/fteqtv/libqtvc' icc -Wall -O2 source.c -c -o source.o . icc -Wall -O2 bsp.c -c -o bsp.o source.c(70): remark #1419: external declaration in primary source file void Net_SendConnectionMVD(sv_t *qtv, oproxy_t *prox); ^ source.c(71): remark #1419: external declaration in primary source file void Net_QueueUpstream(sv_t *qtv, int size, char *buffer); ^ source.c(171): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits ((struct sockaddr_in *)sadr)->sin_port = htons(defaultport); ^ source.c(171): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits ((struct sockaddr_in *)sadr)->sin_port = htons(defaultport); ^ source.c(179): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits ((struct sockaddr_in *)sadr)->sin_port = htons((short)atoi(colon+1)); ^ source.c(189): warning #188: enumerated type mixed with another type return 0; ^ source.c(191): warning #188: enumerated type mixed with another type return 0; ^ source.c(226): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits address.sin_port = htons((u_short)port); ^ source.c(252): remark #1418: external function definition with no prior declaration char *strchrrev(char *str, char chr) ^ source.c(262): remark #1418: external function definition with no prior declaration void Net_SendQTVConnectionRequest(sv_t *qtv, char *authmethod, char *challenge) ^ source.c(386): remark #1418: external function definition with no prior declaration qboolean Net_ConnectToTCPServer(sv_t *qtv, char *ip) ^ source.c(444): remark #1418: external function definition with no prior declaration qboolean Net_ConnectToUDPServer(sv_t *qtv, char *ip) ^ source.c(474): remark #981: operands are evaluated in unspecified order qtv->qport = Sys_Milliseconds()*1000+Sys_Milliseconds(); ^ source.c(474): remark #2259: non-pointer conversion from "unsigned int" to "unsigned short" may lose significant bits qtv->qport = Sys_Milliseconds()*1000+Sys_Milliseconds(); ^ source.c(479): remark #1418: external function definition with no prior declaration qboolean DemoFilenameIsOkay(char *fname) ^ source.c(525): remark #1418: external function definition with no prior declaration qboolean Net_ConnectToServer(sv_t *qtv) ^ source.c(639): remark #1418: external function definition with no prior declaration qboolean Net_WriteUpstream(sv_t *qtv) ^ source.c(653): remark #1599: declaration hides variable "err" (declared at line 650) int err; ^ source.c(653): remark #593: variable "err" was set but never used int err; ^ source.c(675): remark #1418: external function definition with no prior declaration void SV_SendUpstream(sv_t *qtv, netmsg_t *nm) ^ source.c(679): remark #2259: non-pointer conversion from "unsigned int" to "char" may lose significant bits size[0] = (nm->cursize&0x00ff)>>0; ^ source.c(680): remark #2259: non-pointer conversion from "unsigned int" to "char" may lose significant bits size[1] = (nm->cursize&0xff00)>>8; ^ source.c(694): warning #1224: #warning directive: This is incomplete! #warning This is incomplete! ^ qw.c(30): remark #1419: external declaration in primary source file void QTV_Say(cluster_t *cluster, sv_t *qtv, viewer_t *v, char *message, qboolean noupwards); ^ source.c(710): remark #1418: external function definition with no prior declaration void SV_SayToViewers(sv_t *qtv, char *message) ^ qw.c(32): remark #1418: external function definition with no prior declaration void QTV_DefaultMovevars(movevars_t *vars) ^ qw.c(47): remark #1419: external declaration in primary source file void Menu_Enter(cluster_t *cluster, viewer_t *viewer, int buttonnum); ^ qw.c(118): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (m, bits); ^ qw.c(167): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits address.sin_port = htons((u_short)port); ^ qw.c(239): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, viewer->thisplayer); ^ qw.c(241): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, viewer->thisplayer | 128); ^ qw.c(300): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits WriteShort(msg, playernum); ^ qw.c(326): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, tv->map.cdtrack); //two of them, yeah... weird, eh? ^ qw.c(327): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, tv->map.cdtrack); ^ qw.c(266): remark #869: parameter "mvd" was never referenced void BuildNQServerData(sv_t *tv, netmsg_t *msg, qboolean mvd, int playernum) ^ qw.c(338): remark #1418: external function definition with no prior declaration void QW_ClearViewerState(viewer_t *viewer) ^ qw.c(343): remark #1418: external function definition with no prior declaration void SendServerData(sv_t *tv, viewer_t *viewer) ^ qw.c(368): remark #1418: external function definition with no prior declaration void SendNQSpawnInfoToViewer(cluster_t *cluster, viewer_t *viewer, netmsg_t *msg) ^ qw.c(382): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, i); ^ qw.c(387): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, i); ^ qw.c(388): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits WriteShort (msg, tv->map.players[i].frags); ^ qw.c(395): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, i); ^ qw.c(396): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, colours); ^ qw.c(404): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, i); ^ qw.c(407): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, i); ^ qw.c(410): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, i); ^ qw.c(419): remark #1418: external function definition with no prior declaration int SendCurrentUserinfos(sv_t *tv, int cursize, netmsg_t *msg, int i, int thisplayer) ^ qw.c(433): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, i); ^ qw.c(441): remark #181: argument is incompatible with corresponding format string conversion snprintf(name, sizeof(name), "[%d] %s", tv->numviewers, tv->map.hostname); ^ qw.c(443): remark #181: argument is incompatible with corresponding format string conversion snprintf(name, sizeof(name), "[%d] FTEQTV", tv->numviewers); ^ qw.c(460): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, i); ^ qw.c(464): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, i); ^ qw.c(468): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, i); ^ qw.c(480): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, i); ^ qw.c(485): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, i); ^ qw.c(486): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits WriteShort(msg, tv->map.players[i].frags); ^ qw.c(489): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, i); ^ qw.c(490): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits WriteShort(msg, tv->map.players[i].ping); ^ qw.c(493): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, i); ^ qw.c(494): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, tv->map.players[i].packetloss); ^ qw.c(501): remark #1418: external function definition with no prior declaration void WriteEntityState(netmsg_t *msg, entity_state_t *es) ^ qw.c(514): remark #1418: external function definition with no prior declaration int SendCurrentBaselines(sv_t *tv, int cursize, netmsg_t *msg, int maxbuffersize, int i) ^ qw.c(530): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits WriteShort(msg, i); ^ qw.c(537): remark #1418: external function definition with no prior declaration int SendCurrentLightmaps(sv_t *tv, int cursize, netmsg_t *msg, int maxbuffersize, int i) ^ qw.c(549): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, i); ^ qw.c(554): remark #1418: external function definition with no prior declaration int SendStaticSounds(sv_t *tv, int cursize, netmsg_t *msg, int maxbuffersize, int i) ^ qw.c(579): remark #1418: external function definition with no prior declaration int SendStaticEntities(sv_t *tv, int cursize, netmsg_t *msg, int maxbuffersize, int i) ^ qw.c(604): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, svc); ^ qw.c(605): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, first); ^ qw.c(623): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, i); ^ qw.c(600): remark #869: parameter "qtv" was never referenced int SendList(sv_t *qtv, int first, const filename_t *list, int svc, netmsg_t *msg) ^ qw.c(706): remark #1418: external function definition with no prior declaration int NewChallenge(netadr_t *addr) ^ qw.c(706): remark #869: parameter "addr" was never referenced int NewChallenge(netadr_t *addr) ^ qw.c(710): remark #1418: external function definition with no prior declaration qboolean ChallengePasses(netadr_t *addr, int challenge) ^ qw.c(710): remark #869: parameter "addr" was never referenced qboolean ChallengePasses(netadr_t *addr, int challenge) ^ qw.c(717): remark #1418: external function definition with no prior declaration void NewClient(cluster_t *cluster, viewer_t *viewer) ^ qw.c(755): remark #1418: external function definition with no prior declaration void ParseUserInfo(cluster_t *cluster, viewer_t *viewer) ^ source.c(712): remark #266: function "Fwd_SayToDownstream" declared implicitly Fwd_SayToDownstream(qtv, message); ^ source.c(714): warning #1224: #warning directive: Send to viewers here too #warning Send to viewers here too ^ source.c(721): remark #1418: external function definition with no prior declaration int SV_EarlyParse(sv_t *qtv, unsigned char *buffer, int remaining) ^ qw.c(800): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits rate = atof(temp); ^ qw.c(801): remark #1572: floating-point equality and inequality comparisons are unreliable if (!rate) ^ source.c(774): remark #1418: external function definition with no prior declaration qboolean Net_ReadStream(sv_t *qtv) ^ qw.c(810): remark #1418: external function definition with no prior declaration void NewNQClient(cluster_t *cluster, netadr_t *addr) ^ qw.c(841): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits buffer[5] = (cluster->qwlistenportnum&0x00ff)>>0; ^ qw.c(842): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits buffer[6] = (cluster->qwlistenportnum&0xff00)>>8; ^ qw.c(898): remark #1418: external function definition with no prior declaration void NewQWClient(cluster_t *cluster, netadr_t *addr, char *connectmessage) ^ source.c(997): remark #1418: external function definition with no prior declaration void Trim(char *s) ^ source.c(1058): remark #1418: external function definition with no prior declaration void QTV_CleanupMap(sv_t *qtv) ^ source.c(1083): remark #1418: external function definition with no prior declaration void QTV_DisconnectFromSource(sv_t *qtv) ^ qw.c(1029): remark #1418: external function definition with no prior declaration void QTV_Rcon(cluster_t *cluster, char *message, netadr_t *from) ^ qw.c(1056): remark #1418: external function definition with no prior declaration void QTV_Status(cluster_t *cluster, netadr_t *from) ^ source.c(1114): remark #1418: external function definition with no prior declaration void QTV_Cleanup(sv_t *qtv, qboolean leaveadmins) ^ source.c(1114): remark #869: parameter "leaveadmins" was never referenced void QTV_Cleanup(sv_t *qtv, qboolean leaveadmins) ^ source.c(1118): remark #177: variable "i" was declared but never referenced int i; ^ qw.c(1141): remark #181: argument is incompatible with corresponding format string conversion sprintf(elem, " (%s)", sv->serveraddress); ^ qw.c(1153): remark #1418: external function definition with no prior declaration void ConnectionlessPacket(cluster_t *cluster, netadr_t *from, netmsg_t *m) ^ qw.c(1197): remark #1418: external function definition with no prior declaration void SV_WriteDelta(int entnum, const entity_state_t *from, const entity_state_t *to, netmsg_t *msg, qboolean force) ^ qw.c(1237): remark #2259: non-pointer conversion from "unsigned int" to "unsigned short" may lose significant bits WriteShort (msg, i); ^ qw.c(1240): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits WriteByte (msg, bits&255); ^ qw.c(1250): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, to->modelindex&255); ^ source.c(1287): remark #1418: external function definition with no prior declaration unsigned char COM_BlockSequenceCRCByte (void *base, int length, int sequence) ^ qw.c(1258): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, to->effects&0x00ff); ^ source.c(1299): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits chkb[length] = (sequence & 0xff) ^ p[0]; ^ source.c(1301): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits chkb[length+2] = ((sequence>>8) & 0xff) ^ p[2]; ^ source.c(1310): remark #2259: non-pointer conversion from "unsigned short" to "unsigned char" may lose significant bits return crc; ^ source.c(1312): remark #1418: external function definition with no prior declaration void SetMoveCRC(sv_t *qtv, netmsg_t *msg) ^ qw.c(1274): remark #1418: external function definition with no prior declaration void SV_EmitPacketEntities (const sv_t *qtv, const viewer_t *v, const packet_entities_t *to, netmsg_t *msg) ^ source.c(1326): remark #1418: external function definition with no prior declaration void QTV_ParseQWStream(sv_t *qtv) ^ qw.c(1292): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, delta_frame); ^ qw.c(1334): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits WriteShort (msg, oldnum | U_REMOVE); ^ qw.c(1343): remark #869: parameter "prox" was never referenced void Prox_SendInitialEnts(sv_t *qtv, oproxy_t *prox, netmsg_t *msg) ^ qw.c(1370): remark #1418: external function definition with no prior declaration void SendLocalPlayerState(sv_t *tv, viewer_t *v, int playernum, netmsg_t *msg) ^ source.c(1413): remark #1418: external function definition with no prior declaration void QTV_CollectCommentry(sv_t *qtv) ^ qw.c(1376): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, playernum); ^ qw.c(1396): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits WriteShort(msg, flags); ^ source.c(1413): remark #869: parameter "qtv" was never referenced void QTV_CollectCommentry(sv_t *qtv) ^ qw.c(1423): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits WriteShort(msg, flags); ^ qw.c(1424): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits WriteShort(msg, v->origin[0]*8); ^ qw.c(1425): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits WriteShort(msg, v->origin[1]*8); ^ qw.c(1426): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits WriteShort(msg, v->origin[2]*8); ^ qw.c(1431): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits WriteShort (msg, v->velocity[j]); ^ source.c(1614): remark #1599: declaration hides variable "buffer" (declared at line 1508) char buffer[128]; ^ qw.c(1471): remark #1418: external function definition with no prior declaration void SendNQClientData(sv_t *tv, viewer_t *v, netmsg_t *msg) ^ source.c(1667): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits WriteShort(&msg, qtv->controller->origin[0]); ^ qw.c(1534): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits WriteShort (msg, bits); ^ source.c(1668): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits WriteShort(&msg, qtv->controller->origin[1]); ^ source.c(1669): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits WriteShort(&msg, qtv->controller->origin[2]); ^ qw.c(1556): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits WriteByte (msg, pl->stats[STAT_ARMOR]); ^ qw.c(1558): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits WriteByte (msg, pl->stats[STAT_WEAPON]); ^ qw.c(1560): remark #2259: non-pointer conversion from "unsigned int" to "unsigned short" may lose significant bits WriteShort (msg, pl->stats[STAT_HEALTH]); ^ qw.c(1561): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits WriteByte (msg, pl->stats[STAT_AMMO]); ^ source.c(1692): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits cmd[2]->angles[0] = qtv->proxyplayerangles[0]/360*65535; ^ qw.c(1562): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits WriteByte (msg, pl->stats[STAT_SHELLS]); ^ source.c(1693): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits cmd[2]->angles[1] = qtv->proxyplayerangles[1]/360*65535; ^ qw.c(1563): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits WriteByte (msg, pl->stats[STAT_NAILS]); ^ source.c(1694): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits cmd[2]->angles[2] = qtv->proxyplayerangles[2]/360*65535; ^ qw.c(1564): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits WriteByte (msg, pl->stats[STAT_ROCKETS]); ^ source.c(1695): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits cmd[2]->buttons = qtv->proxyplayerbuttons & 255; ^ qw.c(1565): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits WriteByte (msg, pl->stats[STAT_CELLS]); ^ qw.c(1567): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits WriteByte (msg, pl->stats[STAT_ACTIVEWEAPON]); ^ source.c(1696): remark #2259: non-pointer conversion from "int" to "short" may lose significant bits cmd[2]->forwardmove = (qtv->proxyplayerbuttons & (1<<8))?800:0 + (qtv->proxyplayerbuttons & (1<<9))?-800:0; ^ source.c(1697): remark #2259: non-pointer conversion from "int" to "short" may lose significant bits cmd[2]->sidemove = (qtv->proxyplayerbuttons & (1<<11))?800:0 + (qtv->proxyplayerbuttons & (1<<10))?-800:0; ^ source.c(1698): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits cmd[2]->msec = qtv->curtime - qtv->packetratelimiter; ^ source.c(1699): remark #2259: non-pointer conversion from "float" to "unsigned char" may lose significant bits cmd[2]->impulse = qtv->proxyplayerimpulse; ^ qw.c(1570): remark #1418: external function definition with no prior declaration void SendNQPlayerStates(cluster_t *cluster, sv_t *tv, viewer_t *v, netmsg_t *msg) ^ source.c(1726): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(&msg, qtv->map.frame[to].oldframe); //let the server know ^ qw.c(1615): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits WriteShort(msg, v->trackplayer+1); ^ source.c(1781): remark #1599: declaration hides variable "length" (declared at line 1507) int length; ^ qw.c(1618): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, (int)InterpolateAngle(tv->map.players[v->trackplayer].old.angles[0], tv->map.players[v->trackplayer].current.angles[0], lerp)>>8); ^ qw.c(1619): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, (int)InterpolateAngle(tv->map.players[v->trackplayer].old.angles[1], tv->map.players[v->trackplayer].current.angles[1], lerp)>>8); ^ qw.c(1620): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, (int)InterpolateAngle(tv->map.players[v->trackplayer].old.angles[2], tv->map.players[v->trackplayer].current.angles[2], lerp)>>8); ^ qw.c(1625): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits WriteShort(msg, v->thisplayer+1); ^ source.c(1819): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits svversion = atof((char*)qtv->buffer + 6); ^ qw.c(1644): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg,bits | UNQ_SIGNAL); ^ source.c(1828): warning #188: enumerated type mixed with another type qtv->upstreamacceptschat = svversion>=1.1; ^ qw.c(1646): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, bits>>8); ^ source.c(1829): warning #188: enumerated type mixed with another type qtv->upstreamacceptsdownload = svversion>=1.1; ^ qw.c(1648): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits WriteShort (msg,e+1); ^ qw.c(1650): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg,e+1); ^ qw.c(1663): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits WriteShort (msg, v->origin[0]*8); ^ qw.c(1665): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, -(v->ucmds[2].angles[0]>>8)); ^ qw.c(1667): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits WriteShort (msg, v->origin[1]*8); ^ qw.c(1669): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, v->ucmds[2].angles[1]>>8); ^ qw.c(1671): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits WriteShort (msg, v->origin[2]*8); ^ qw.c(1673): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, v->ucmds[2].angles[2]>>8); ^ qw.c(1690): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits org[i] = (lerp)*pl->current.origin[i] + (1-lerp)*pl->old.origin[i]; ^ qw.c(1730): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg,bits | UNQ_SIGNAL); ^ qw.c(1733): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, bits>>8); ^ qw.c(1735): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits WriteShort (msg,e+1); ^ qw.c(1737): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg,e+1); ^ qw.c(1744): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, (e>=15)?0:(e+1)); ^ qw.c(1752): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, -(pl->current.angles[0]>>8)); ^ qw.c(1756): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, pl->current.angles[1]>>8); ^ qw.c(1760): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, pl->current.angles[2]>>8); ^ source.c(2021): remark #181: argument is incompatible with corresponding format string conversion Sys_Printf(qtv->cluster, "Stream %i: Warning: corrupt input packet (%i bytes) too big! Flushing and reconnecting!\n", qtv->streamid, length); ^ qw.c(1835): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg,bits | UNQ_SIGNAL); ^ qw.c(1838): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, bits>>8); ^ qw.c(1840): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits WriteShort (msg,newnum); ^ qw.c(1842): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg,newnum); ^ qw.c(1849): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, (newstate->colormap>15)?0:(newstate->colormap)); ^ qw.c(1872): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits WriteShort(msg, v->thisplayer+1); ^ qw.c(1875): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, v->thisplayer+1); ^ qw.c(1877): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits WriteShort (msg, v->origin[0]); ^ qw.c(1878): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits WriteShort (msg, v->origin[1]); ^ qw.c(1879): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits WriteShort (msg, v->origin[2]); ^ qw.c(1884): remark #1418: external function definition with no prior declaration viewer_t *GetCommentator(viewer_t *v) ^ qw.c(1902): remark #1418: external function definition with no prior declaration void SendPlayerStates(sv_t *tv, viewer_t *v, netmsg_t *msg) ^ qw.c(2006): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, i); ^ qw.c(2020): remark #2259: non-pointer conversion from "float" to "short" may lose significant bits interp = (lerp)*tv->map.players[i].current.origin[0] + (1-lerp)*tv->map.players[i].old.origin[0]; ^ qw.c(2022): remark #2259: non-pointer conversion from "float" to "short" may lose significant bits interp = (lerp)*tv->map.players[i].current.origin[1] + (1-lerp)*tv->map.players[i].old.origin[1]; ^ qw.c(2024): remark #2259: non-pointer conversion from "float" to "short" may lose significant bits interp = (lerp)*tv->map.players[i].current.origin[2] + (1-lerp)*tv->map.players[i].old.origin[2]; ^ qw.c(2045): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits to.angles[0] = InterpolateAngle(tv->map.players[i].old.angles[0], tv->map.players[i].current.angles[0], lerp); ^ qw.c(2046): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits to.angles[1] = InterpolateAngle(tv->map.players[i].old.angles[1], tv->map.players[i].current.angles[1], lerp); ^ qw.c(2047): remark #2259: non-pointer conversion from "float" to "unsigned short" may lose significant bits to.angles[2] = InterpolateAngle(tv->map.players[i].old.angles[2], tv->map.players[i].current.angles[2], lerp); ^ qw.c(2107): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits e->entnum[e->numents] = newnum; ^ qw.c(2151): remark #2259: non-pointer conversion from "float" to "short" may lose significant bits e->ents[e->numents].origin[0] = (lerp)*newstate->origin[0] + (1-lerp)*oldstate->origin[0]; ^ qw.c(2152): remark #2259: non-pointer conversion from "float" to "short" may lose significant bits e->ents[e->numents].origin[1] = (lerp)*newstate->origin[1] + (1-lerp)*oldstate->origin[1]; ^ qw.c(2153): remark #2259: non-pointer conversion from "float" to "short" may lose significant bits e->ents[e->numents].origin[2] = (lerp)*newstate->origin[2] + (1-lerp)*oldstate->origin[2]; ^ qw.c(2169): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(msg, tv->map.nailcount); ^ qw.c(2182): remark #1418: external function definition with no prior declaration void UpdateStats(sv_t *qtv, viewer_t *v) ^ qw.c(2188): remark #82: storage class is not first const static unsigned int nullstats[MAX_STATS] = {1000}; ^ qw.c(2213): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(&msg, i); ^ qw.c(2219): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(&msg, i); ^ qw.c(2220): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits WriteByte(&msg, stats[i]); ^ qw.c(2225): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(&msg, i); ^ qw.c(2272): remark #1418: external function definition with no prior declaration void PMove(viewer_t *v, usercmd_t *cmd) ^ qw.c(2316): remark #1418: external function definition with no prior declaration void QW_SetCommentator(cluster_t *cluster, viewer_t *v, viewer_t *commentator) ^ qw.c(2740): warning #188: enumerated type mixed with another type qtv = QTV_NewServerConnection(cluster, 0, buf, "", false, true, !isjoin, false); ^ qw.c(2775): remark #181: argument is incompatible with corresponding format string conversion snprintf(buf, sizeof(buf), "[QuakeTV] %s\n", qtv->serveraddress); ^ qw.c(3192): remark #1418: external function definition with no prior declaration viewer_t *QW_IsOn(cluster_t *cluster, char *name) ^ qw.c(3233): remark #1418: external function definition with no prior declaration void QW_PositionAtIntermission(sv_t *qtv, viewer_t *v) ^ qw.c(3254): warning #188: enumerated type mixed with another type msg.overflowed = 0; ^ qw.c(3257): remark #2259: non-pointer conversion from "float" to "unsigned char" may lose significant bits WriteByte (&msg, (spot->angle[0]/360) * 256); ^ qw.c(3258): remark #2259: non-pointer conversion from "float" to "unsigned char" may lose significant bits WriteByte (&msg, (spot->angle[1]/360) * 256); ^ qw.c(3264): remark #1418: external function definition with no prior declaration void ParseNQC(cluster_t *cluster, sv_t *qtv, viewer_t *v, netmsg_t *m) ^ qw.c(3294): warning #188: enumerated type mixed with another type msg.overflowed = 0; ^ qw.c(3350): warning #188: enumerated type mixed with another type msg.overflowed = 0; ^ qw.c(3399): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits v->ucmds[2].angles[0] = ReadByte(m)*256; ^ qw.c(3400): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits v->ucmds[2].angles[1] = ReadByte(m)*256; ^ qw.c(3401): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits v->ucmds[2].angles[2] = ReadByte(m)*256; ^ qw.c(3496): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits v->origin[0] = v->server->map.players[v->trackplayer].current.origin[0]/8.0; ^ qw.c(3497): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits v->origin[1] = v->server->map.players[v->trackplayer].current.origin[1]/8.0; ^ qw.c(3498): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits v->origin[2] = v->server->map.players[v->trackplayer].current.origin[2]/8.0; ^ qw.c(3508): remark #1418: external function definition with no prior declaration void ParseQWC(cluster_t *cluster, sv_t *qtv, viewer_t *v, netmsg_t *m) ^ qw.c(3713): remark #1599: declaration hides parameter "m" (declared at line 3508) netmsg_t m; ^ qw.c(3781): remark #1599: declaration hides variable "i" (declared at line 3513) int i; ^ qw.c(3813): remark #1599: declaration hides parameter "m" (declared at line 3508) netmsg_t m; ^ qw.c(3944): remark #1418: external function definition with no prior declaration void SendViewerPackets(cluster_t *cluster, viewer_t *v) ^ qw.c(3951): warning #188: enumerated type mixed with another type v->drop |= v->netchan.drop; ^ qw.c(3961): warning #188: enumerated type mixed with another type v->maysend = (v->nextpacket < cluster->curtime); ^ bsp.c(95): remark #1418: external function definition with no prior declaration void DecompressVis(unsigned char *in, unsigned char *out, int bytecount) ^ bsp.c(118): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits *out++ = c; ^ bsp.c(123): remark #1418: external function definition with no prior declaration void BSP_LoadEntities(bsp_t *bsp, char *entitydata) ^ bsp.c(175): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits org[0] = atof(key); ^ bsp.c(177): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits org[1] = atof(key); ^ bsp.c(179): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits org[2] = atof(key); ^ bsp.c(186): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits angles[0] = atof(key); ^ bsp.c(190): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits angles[1] = atof(key); ^ bsp.c(192): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits angles[2] = atof(key); ^ bsp.c(301): remark #981: operands are evaluated in unspecified order if (LittleLong(header->lumps[i].fileofs) + LittleLong(header->lumps[i].filelen) > size) ^ qw.c(3997): remark #266: function "Menu_Draw" declared implicitly Menu_Draw(cluster, v); ^ bsp.c(329): remark #981: operands are evaluated in unspecified order chksum = Com_BlockChecksum(data + LittleLong(header->lumps[i].fileofs), LittleLong(header->lumps[i].filelen)); ^ bsp.c(329): remark #981: operands are evaluated in unspecified order chksum = Com_BlockChecksum(data + LittleLong(header->lumps[i].fileofs), LittleLong(header->lumps[i].filelen)); ^ qw.c(4054): remark #181: argument is incompatible with corresponding format string conversion sprintf(buffer, "a\n%i\n0\n", cluster->mastersequence++); //fill buffer with a heartbeat ^ bsp.c(343): remark #2259: non-pointer conversion from "int" to "short" may lose significant bits bsp->nodes[i].child[0] = LittleShort(nodes[i].children[0]); ^ bsp.c(344): remark #2259: non-pointer conversion from "int" to "short" may lose significant bits bsp->nodes[i].child[1] = LittleShort(nodes[i].children[1]); ^ bsp.c(350): remark #981: operands are evaluated in unspecified order memcpy(bsp->pvslump, data+LittleLong(header->lumps[LUMP_VISIBILITY].fileofs), LittleLong(header->lumps[LUMP_VISIBILITY].filelen)); ^ qw.c(4188): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(&m, cluster->numviewers>255?255:cluster->numviewers); ^ bsp.c(350): remark #981: operands are evaluated in unspecified order memcpy(bsp->pvslump, data+LittleLong(header->lumps[LUMP_VISIBILITY].fileofs), LittleLong(header->lumps[LUMP_VISIBILITY].filelen)); ^ qw.c(4189): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(&m, cluster->maxviewers>255?255:cluster->maxviewers); ^ bsp.c(373): remark #1418: external function definition with no prior declaration int BSP_SphereLeafNums_r(bsp_t *bsp, int first, int maxleafs, unsigned short *list, float *pos, float radius) ^ bsp.c(406): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits list[numleafs] = rn-1; ^ bsp.c(107): (col. 4) remark: LOOP WAS VECTORIZED. bsp.c(112): (col. 4) remark: LOOP WAS VECTORIZED. bsp.c(474): (col. 2) remark: LOOP WAS VECTORIZED. bsp.c(474): (col. 2) remark: LOOP WAS VECTORIZED. icc -Wall -O2 rcon.c -c -o rcon.o rcon.c(111): remark #1418: external function definition with no prior declaration void Info_RemoveKey (char *s, const char *key) ^ rcon.c(191): remark #981: operands are evaluated in unspecified order if (strlen(value) - strlen(v) + strlen(s) + 1 > maxsize) ^ rcon.c(191): remark #981: operands are evaluated in unspecified order if (strlen(value) - strlen(v) + strlen(s) + 1 > maxsize) ^ rcon.c(205): remark #981: operands are evaluated in unspecified order if ((int)(strlen(newv) + strlen(s) + 1) > maxsize) ^ rcon.c(220): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *s++ = c; ^ rcon.c(290): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits out[len] = c; ^ rcon.c(298): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits out[len] = c; ^ rcon.c(309): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits out[len] = c; ^ rcon.c(342): remark #1418: external function definition with no prior declaration void Cmd_Hostname(cmdctxt_t *ctx) ^ rcon.c(359): remark #1418: external function definition with no prior declaration void Cmd_Master(cmdctxt_t *ctx) ^ rcon.c(394): remark #1418: external function definition with no prior declaration void Cmd_UDPPort(cmdctxt_t *ctx) ^ rcon.c(412): remark #1418: external function definition with no prior declaration void Cmd_AdminPassword(cmdctxt_t *ctx) ^ rcon.c(434): remark #1418: external function definition with no prior declaration void Cmd_GenericQuery(cmdctxt_t *ctx, int dataset) ^ rcon.c(448): remark #981: operands are evaluated in unspecified order memmove(address+strlen(method), address, ARG_LEN-(1+strlen(method))); ^ rcon.c(448): remark #981: operands are evaluated in unspecified order memmove(address+strlen(method), address, ARG_LEN-(1+strlen(method))); ^ rcon.c(451): warning #188: enumerated type mixed with another type if (!QTV_NewServerConnection(ctx->cluster, ctx->streamid, address, password, false, false, false, dataset)) ^ rcon.c(458): remark #1418: external function definition with no prior declaration void Cmd_QTVList(cmdctxt_t *ctx) ^ rcon.c(462): remark #1418: external function definition with no prior declaration void Cmd_QTVDemoList(cmdctxt_t *ctx) ^ rcon.c(467): remark #1418: external function definition with no prior declaration void Cmd_GenericConnect(cmdctxt_t *ctx, char *method) ^ rcon.c(484): remark #981: operands are evaluated in unspecified order memmove(address+strlen(method), address, ARG_LEN-(1+strlen(method))); ^ rcon.c(484): remark #981: operands are evaluated in unspecified order memmove(address+strlen(method), address, ARG_LEN-(1+strlen(method))); ^ rcon.c(494): remark #1418: external function definition with no prior declaration void Cmd_QTVConnect(cmdctxt_t *ctx) ^ rcon.c(498): remark #1418: external function definition with no prior declaration void Cmd_QWConnect(cmdctxt_t *ctx) ^ rcon.c(502): remark #1418: external function definition with no prior declaration void Cmd_MVDConnect(cmdctxt_t *ctx) ^ rcon.c(507): remark #1418: external function definition with no prior declaration void Cmd_Exec(cmdctxt_t *ctx) ^ rcon.c(550): remark #1418: external function definition with no prior declaration void catbuffer(char *buffer, int bufsize, char *format, ...) ^ rcon.c(562): remark #1418: external function definition with no prior declaration void Cmd_Say(cmdctxt_t *ctx) ^ rcon.c(575): remark #266: function "SV_SayToViewers" declared implicitly SV_SayToViewers(ctx->qtv, message); ^ rcon.c(589): remark #1418: external function definition with no prior declaration void Cmd_Status(cmdctxt_t *ctx) ^ rcon.c(666): remark #1418: external function definition with no prior declaration void Cmd_UserConnects(cmdctxt_t *ctx) ^ rcon.c(674): warning #188: enumerated type mixed with another type ctx->cluster->nouserconnects = !atoi(Cmd_Argv(ctx, 1)); ^ rcon.c(678): remark #1418: external function definition with no prior declaration void Cmd_Choke(cmdctxt_t *ctx) ^ rcon.c(688): warning #188: enumerated type mixed with another type ctx->cluster->chokeonnotupdated = !!atoi(Cmd_Argv(ctx, 1)); ^ rcon.c(691): remark #1418: external function definition with no prior declaration void Cmd_Late(cmdctxt_t *ctx) ^ rcon.c(701): warning #188: enumerated type mixed with another type ctx->cluster->lateforward = !!atoi(Cmd_Argv(ctx, 1)); ^ rcon.c(704): remark #1418: external function definition with no prior declaration void Cmd_Talking(cmdctxt_t *ctx) ^ rcon.c(714): warning #188: enumerated type mixed with another type ctx->cluster->notalking = !atoi(Cmd_Argv(ctx, 1)); ^ rcon.c(717): remark #1418: external function definition with no prior declaration void Cmd_NoBSP(cmdctxt_t *ctx) ^ rcon.c(729): warning #188: enumerated type mixed with another type ctx->cluster->nobsp = !!atoi(val); ^ rcon.c(734): remark #1418: external function definition with no prior declaration void Cmd_MaxViewers(cmdctxt_t *ctx) ^ rcon.c(750): remark #1418: external function definition with no prior declaration void Cmd_AllowNQ(cmdctxt_t *ctx) ^ rcon.c(759): warning #188: enumerated type mixed with another type ctx->cluster->allownqclients = !!atoi(val); ^ rcon.c(763): remark #1418: external function definition with no prior declaration void Cmd_MaxProxies(cmdctxt_t *ctx) ^ rcon.c(781): remark #1418: external function definition with no prior declaration void Cmd_Ping(cmdctxt_t *ctx) ^ rcon.c(793): remark #1418: external function definition with no prior declaration void Cmd_Help(cmdctxt_t *ctx) ^ rcon.c(798): remark #1418: external function definition with no prior declaration void Cmd_Echo(cmdctxt_t *ctx) ^ rcon.c(803): remark #1418: external function definition with no prior declaration void Cmd_Quit(cmdctxt_t *ctx) ^ rcon.c(827): remark #1418: external function definition with no prior declaration void Cmd_Streams(cmdctxt_t *ctx) ^ rcon.c(870): remark #1418: external function definition with no prior declaration void Cmd_DemoSpeed(cmdctxt_t *ctx) ^ rcon.c(875): remark #2259: non-pointer conversion from "double" to "unsigned int" may lose significant bits ctx->qtv->parsespeed = atof(val)*1000; ^ rcon.c(882): remark #1418: external function definition with no prior declaration void Cmd_Disconnect(cmdctxt_t *ctx) ^ rcon.c(888): remark #1418: external function definition with no prior declaration void Cmd_Halt(cmdctxt_t *ctx) ^ rcon.c(901): remark #1418: external function definition with no prior declaration void Cmd_Pause(cmdctxt_t *ctx) ^ rcon.c(920): remark #1418: external function definition with no prior declaration void Cmd_Resume(cmdctxt_t *ctx) ^ rcon.c(937): remark #1418: external function definition with no prior declaration void Cmd_Record(cmdctxt_t *ctx) ^ rcon.c(957): remark #1418: external function definition with no prior declaration void Cmd_Stop(cmdctxt_t *ctx) ^ rcon.c(965): remark #1418: external function definition with no prior declaration void Cmd_Reconnect(cmdctxt_t *ctx) ^ rcon.c(975): remark #1418: external function definition with no prior declaration void Cmd_MVDPort(cmdctxt_t *ctx) ^ rcon.c(1012): remark #1418: external function definition with no prior declaration void Cmd_DemoList(cmdctxt_t *ctx) ^ rcon.c(1026): remark #1418: external function definition with no prior declaration void Cmd_BaseDir(cmdctxt_t *ctx) ^ rcon.c(1046): remark #1418: external function definition with no prior declaration void Cmd_DemoDir(cmdctxt_t *ctx) ^ rcon.c(1075): remark #1418: external function definition with no prior declaration void Cmd_MuteStream(cmdctxt_t *ctx) ^ rcon.c(1081): warning #188: enumerated type mixed with another type ctx->qtv->silentstream = atoi(val); ^ rcon.c(1119): remark #1419: external declaration in primary source file extern const rconcommands_t rconcommands[]; ^ rcon.c(1121): remark #1418: external function definition with no prior declaration void Cmd_Commands(cmdctxt_t *ctx) ^ rcon.c(1127): warning #556: a value of type "const rconcommands_t *" cannot be assigned to an entity of type "rconcommands_t *" for (cmd = rconcommands; cmd->name; cmd++) ^ rcon.c(1139): warning #188: enumerated type mixed with another type {"exec", 1, 1, Cmd_Exec, "executes a config file"}, ^ rcon.c(1139): warning #188: enumerated type mixed with another type {"exec", 1, 1, Cmd_Exec, "executes a config file"}, ^ rcon.c(1140): warning #188: enumerated type mixed with another type {"status", 1, 1, Cmd_Status, "prints proxy/stream status" }, ^ rcon.c(1140): warning #188: enumerated type mixed with another type {"status", 1, 1, Cmd_Status, "prints proxy/stream status" }, ^ rcon.c(1141): warning #188: enumerated type mixed with another type {"say", 1, 1, Cmd_Say, "says to a stream"}, ^ rcon.c(1141): warning #188: enumerated type mixed with another type {"say", 1, 1, Cmd_Say, "says to a stream"}, ^ rcon.c(1143): warning #188: enumerated type mixed with another type {"help", 0, 1, Cmd_Help, "shows the brief intro help text"}, ^ rcon.c(1143): warning #188: enumerated type mixed with another type {"help", 0, 1, Cmd_Help, "shows the brief intro help text"}, ^ rcon.c(1144): warning #188: enumerated type mixed with another type {"commands", 0, 1, Cmd_Commands, "prints the list of commands"}, ^ rcon.c(1144): warning #188: enumerated type mixed with another type {"commands", 0, 1, Cmd_Commands, "prints the list of commands"}, ^ rcon.c(1145): warning #188: enumerated type mixed with another type {"hostname", 0, 1, Cmd_Hostname, "changes the hostname seen in server browsers"}, ^ rcon.c(1145): warning #188: enumerated type mixed with another type {"hostname", 0, 1, Cmd_Hostname, "changes the hostname seen in server browsers"}, ^ rcon.c(1146): warning #188: enumerated type mixed with another type {"master", 0, 1, Cmd_Master, "specifies which master server to use"}, ^ rcon.c(1146): warning #188: enumerated type mixed with another type {"master", 0, 1, Cmd_Master, "specifies which master server to use"}, ^ rcon.c(1147): warning #188: enumerated type mixed with another type {"udpport", 0, 1, Cmd_UDPPort, "specifies to listen on a provided udp port for regular qw clients"}, ^ rcon.c(1147): warning #188: enumerated type mixed with another type {"udpport", 0, 1, Cmd_UDPPort, "specifies to listen on a provided udp port for regular qw clients"}, ^ rcon.c(1148): warning #188: enumerated type mixed with another type {"port", 0, 1, Cmd_UDPPort}, ^ rcon.c(1148): warning #188: enumerated type mixed with another type {"port", 0, 1, Cmd_UDPPort}, ^ rcon.c(1149): warning #188: enumerated type mixed with another type {"adminpassword", 0, 1, Cmd_AdminPassword,"specifies the password for qtv administrators"}, ^ rcon.c(1149): warning #188: enumerated type mixed with another type {"adminpassword", 0, 1, Cmd_AdminPassword,"specifies the password for qtv administrators"}, ^ rcon.c(1150): warning #188: enumerated type mixed with another type {"rconpassword", 0, 1, Cmd_AdminPassword}, ^ rcon.c(1150): warning #188: enumerated type mixed with another type {"rconpassword", 0, 1, Cmd_AdminPassword}, ^ rcon.c(1151): warning #188: enumerated type mixed with another type {"qtvlist", 0, 1, Cmd_QTVList, "queries a seperate proxy for a list of available streams"}, ^ rcon.c(1151): warning #188: enumerated type mixed with another type {"qtvlist", 0, 1, Cmd_QTVList, "queries a seperate proxy for a list of available streams"}, ^ rcon.c(1152): warning #188: enumerated type mixed with another type {"qtvdemolist", 0, 1, Cmd_QTVDemoList, "queries a seperate proxy for a list of available demos"}, ^ rcon.c(1152): warning #188: enumerated type mixed with another type {"qtvdemolist", 0, 1, Cmd_QTVDemoList, "queries a seperate proxy for a list of available demos"}, ^ rcon.c(1153): warning #188: enumerated type mixed with another type {"qtv", 0, 1, Cmd_QTVConnect, "adds a new tcp/qtv stream"}, ^ rcon.c(1153): warning #188: enumerated type mixed with another type {"qtv", 0, 1, Cmd_QTVConnect, "adds a new tcp/qtv stream"}, ^ rcon.c(1154): warning #188: enumerated type mixed with another type {"addserver", 0, 1, Cmd_QTVConnect}, ^ rcon.c(1154): warning #188: enumerated type mixed with another type {"addserver", 0, 1, Cmd_QTVConnect}, ^ rcon.c(1155): warning #188: enumerated type mixed with another type {"connect", 0, 1, Cmd_QTVConnect}, ^ rcon.c(1155): warning #188: enumerated type mixed with another type {"connect", 0, 1, Cmd_QTVConnect}, ^ rcon.c(1156): warning #188: enumerated type mixed with another type {"qw", 0, 1, Cmd_QWConnect, "adds a new udp/qw stream"}, ^ rcon.c(1156): warning #188: enumerated type mixed with another type {"qw", 0, 1, Cmd_QWConnect, "adds a new udp/qw stream"}, ^ rcon.c(1157): warning #188: enumerated type mixed with another type {"observe", 0, 1, Cmd_QWConnect}, ^ rcon.c(1157): warning #188: enumerated type mixed with another type {"observe", 0, 1, Cmd_QWConnect}, ^ rcon.c(1158): warning #188: enumerated type mixed with another type {"demos", 0, 1, Cmd_DemoList, "shows the list of demos available on this proxy"}, ^ rcon.c(1158): warning #188: enumerated type mixed with another type {"demos", 0, 1, Cmd_DemoList, "shows the list of demos available on this proxy"}, ^ rcon.c(1159): warning #188: enumerated type mixed with another type {"demo", 0, 1, Cmd_MVDConnect, "adds a demo as a new stream"}, ^ rcon.c(1159): warning #188: enumerated type mixed with another type {"demo", 0, 1, Cmd_MVDConnect, "adds a demo as a new stream"}, ^ rcon.c(1160): warning #188: enumerated type mixed with another type {"playdemo", 0, 1, Cmd_MVDConnect}, ^ rcon.c(1160): warning #188: enumerated type mixed with another type {"playdemo", 0, 1, Cmd_MVDConnect}, ^ rcon.c(1161): warning #188: enumerated type mixed with another type {"choke", 0, 1, Cmd_Choke, "chokes packets to the data rate in the stream, disables proxy-side interpolation"}, ^ rcon.c(1161): warning #188: enumerated type mixed with another type {"choke", 0, 1, Cmd_Choke, "chokes packets to the data rate in the stream, disables proxy-side interpolation"}, ^ rcon.c(1162): warning #188: enumerated type mixed with another type {"late", 0, 1, Cmd_Late, "enforces a time delay on packets sent through this proxy"}, ^ rcon.c(1162): warning #188: enumerated type mixed with another type {"late", 0, 1, Cmd_Late, "enforces a time delay on packets sent through this proxy"}, ^ rcon.c(1163): warning #188: enumerated type mixed with another type {"talking", 0, 1, Cmd_Talking, "permits viewers to talk to each other"}, ^ rcon.c(1163): warning #188: enumerated type mixed with another type {"talking", 0, 1, Cmd_Talking, "permits viewers to talk to each other"}, ^ rcon.c(1164): warning #188: enumerated type mixed with another type {"nobsp", 0, 1, Cmd_NoBSP, "disables loading of bsp files"}, ^ rcon.c(1164): warning #188: enumerated type mixed with another type {"nobsp", 0, 1, Cmd_NoBSP, "disables loading of bsp files"}, ^ rcon.c(1165): warning #188: enumerated type mixed with another type {"userconnects", 0, 1, Cmd_UserConnects, "prevents users from creating thier own streams"}, ^ rcon.c(1165): warning #188: enumerated type mixed with another type {"userconnects", 0, 1, Cmd_UserConnects, "prevents users from creating thier own streams"}, ^ rcon.c(1166): warning #188: enumerated type mixed with another type {"maxviewers", 0, 1, Cmd_MaxViewers, "sets a limit on udp/qw client connections"}, ^ rcon.c(1166): warning #188: enumerated type mixed with another type {"maxviewers", 0, 1, Cmd_MaxViewers, "sets a limit on udp/qw client connections"}, ^ rcon.c(1167): warning #188: enumerated type mixed with another type {"maxproxies", 0, 1, Cmd_MaxProxies, "sets a limit on tcp/qtv client connections"}, ^ rcon.c(1167): warning #188: enumerated type mixed with another type {"maxproxies", 0, 1, Cmd_MaxProxies, "sets a limit on tcp/qtv client connections"}, ^ rcon.c(1168): warning #188: enumerated type mixed with another type {"demodir", 0, 1, Cmd_DemoDir, "specifies where to get the demo list from"}, ^ rcon.c(1168): warning #188: enumerated type mixed with another type {"demodir", 0, 1, Cmd_DemoDir, "specifies where to get the demo list from"}, ^ rcon.c(1169): warning #188: enumerated type mixed with another type {"basedir", 0, 1, Cmd_BaseDir, "specifies where to get any files required by the game. this is prefixed to the server-specified game dir."}, ^ rcon.c(1169): warning #188: enumerated type mixed with another type {"basedir", 0, 1, Cmd_BaseDir, "specifies where to get any files required by the game. this is prefixed to the server-specified game dir."}, ^ rcon.c(1170): warning #188: enumerated type mixed with another type {"ping", 0, 1, Cmd_Ping, "sends a udp ping to a qtv proxy or server"}, ^ rcon.c(1170): warning #188: enumerated type mixed with another type {"ping", 0, 1, Cmd_Ping, "sends a udp ping to a qtv proxy or server"}, ^ rcon.c(1171): warning #188: enumerated type mixed with another type {"reconnect", 0, 1, Cmd_Reconnect, "forces a stream to reconnect to its server (restarts demos)"}, ^ rcon.c(1171): warning #188: enumerated type mixed with another type {"reconnect", 0, 1, Cmd_Reconnect, "forces a stream to reconnect to its server (restarts demos)"}, ^ rcon.c(1172): warning #188: enumerated type mixed with another type {"echo", 0, 1, Cmd_Echo, "a useless command that echos a string"}, ^ rcon.c(1172): warning #188: enumerated type mixed with another type {"echo", 0, 1, Cmd_Echo, "a useless command that echos a string"}, ^ rcon.c(1173): warning #188: enumerated type mixed with another type {"quit", 0, 1, Cmd_Quit, "closes the qtv"}, ^ rcon.c(1173): warning #188: enumerated type mixed with another type {"quit", 0, 1, Cmd_Quit, "closes the qtv"}, ^ rcon.c(1174): warning #188: enumerated type mixed with another type {"exit", 0, 1, Cmd_Quit}, ^ rcon.c(1174): warning #188: enumerated type mixed with another type {"exit", 0, 1, Cmd_Quit}, ^ rcon.c(1175): warning #188: enumerated type mixed with another type {"streams", 0, 1, Cmd_Streams, "shows a list of active streams"}, ^ rcon.c(1175): warning #188: enumerated type mixed with another type {"streams", 0, 1, Cmd_Streams, "shows a list of active streams"}, ^ rcon.c(1176): warning #188: enumerated type mixed with another type {"allownq", 0, 1, Cmd_AllowNQ, "permits nq clients to connect. This can be disabled as this code is less tested than the rest"}, ^ rcon.c(1176): warning #188: enumerated type mixed with another type {"allownq", 0, 1, Cmd_AllowNQ, "permits nq clients to connect. This can be disabled as this code is less tested than the rest"}, ^ rcon.c(1180): warning #188: enumerated type mixed with another type {"halt", 1, 0, Cmd_Halt, "disables a stream, preventing it from reconnecting until someone tries watching it anew. Boots current spectators"}, ^ rcon.c(1180): warning #188: enumerated type mixed with another type {"halt", 1, 0, Cmd_Halt, "disables a stream, preventing it from reconnecting until someone tries watching it anew. Boots current spectators"}, ^ rcon.c(1181): warning #188: enumerated type mixed with another type {"disable", 1, 0, Cmd_Halt}, ^ rcon.c(1181): warning #188: enumerated type mixed with another type {"disable", 1, 0, Cmd_Halt}, ^ rcon.c(1182): warning #188: enumerated type mixed with another type {"pause", 1, 0, Cmd_Pause, "Pauses a demo stream."}, ^ rcon.c(1182): warning #188: enumerated type mixed with another type {"pause", 1, 0, Cmd_Pause, "Pauses a demo stream."}, ^ rcon.c(1183): warning #188: enumerated type mixed with another type {"resume", 1, 0, Cmd_Resume, "reactivates a stream, allowing it to reconnect"}, ^ rcon.c(1183): warning #188: enumerated type mixed with another type {"resume", 1, 0, Cmd_Resume, "reactivates a stream, allowing it to reconnect"}, ^ rcon.c(1184): warning #188: enumerated type mixed with another type {"enable", 1, 0, Cmd_Resume}, ^ rcon.c(1184): warning #188: enumerated type mixed with another type {"enable", 1, 0, Cmd_Resume}, ^ rcon.c(1185): warning #188: enumerated type mixed with another type {"mute", 1, 0, Cmd_MuteStream, "hides prints that come from the game server"}, ^ rcon.c(1185): warning #188: enumerated type mixed with another type {"mute", 1, 0, Cmd_MuteStream, "hides prints that come from the game server"}, ^ rcon.c(1186): warning #188: enumerated type mixed with another type {"mutestream", 1, 0, Cmd_MuteStream}, ^ rcon.c(1186): warning #188: enumerated type mixed with another type {"mutestream", 1, 0, Cmd_MuteStream}, ^ rcon.c(1187): warning #188: enumerated type mixed with another type {"disconnect", 1, 0, Cmd_Disconnect, "fully closes a stream"}, ^ rcon.c(1187): warning #188: enumerated type mixed with another type {"disconnect", 1, 0, Cmd_Disconnect, "fully closes a stream"}, ^ rcon.c(1188): warning #188: enumerated type mixed with another type {"record", 1, 0, Cmd_Record, "records a stream to a demo"}, ^ rcon.c(1188): warning #188: enumerated type mixed with another type {"record", 1, 0, Cmd_Record, "records a stream to a demo"}, ^ rcon.c(1189): warning #188: enumerated type mixed with another type {"stop", 1, 0, Cmd_Stop, "stops recording of a demo"}, ^ rcon.c(1189): warning #188: enumerated type mixed with another type {"stop", 1, 0, Cmd_Stop, "stops recording of a demo"}, ^ rcon.c(1190): warning #188: enumerated type mixed with another type {"demospeed", 1, 0, Cmd_DemoSpeed, "changes the rate the demo is played at"}, ^ rcon.c(1190): warning #188: enumerated type mixed with another type {"demospeed", 1, 0, Cmd_DemoSpeed, "changes the rate the demo is played at"}, ^ rcon.c(1191): warning #188: enumerated type mixed with another type {"tcpport", 0, 1, Cmd_MVDPort, "specifies which port to listen on for tcp/qtv connections"}, ^ rcon.c(1191): warning #188: enumerated type mixed with another type {"tcpport", 0, 1, Cmd_MVDPort, "specifies which port to listen on for tcp/qtv connections"}, ^ rcon.c(1192): warning #188: enumerated type mixed with another type {"mvdport", 0, 1, Cmd_MVDPort}, ^ rcon.c(1192): warning #188: enumerated type mixed with another type {"mvdport", 0, 1, Cmd_MVDPort}, ^ rcon.c(1281): remark #1418: external function definition with no prior declaration void Rcon_PrintToBuffer(cmdctxt_t *ctx, char *msg) ^ rcon.c(1305): warning #188: enumerated type mixed with another type ctx.localcommand = islocalcommand; ^ icc -Wall -O2 mdfour.c -c -o mdfour.o icc -Wall -O2 crc.c -c -o crc.o mdfour.c(44): remark #193: zero used for undefined preprocessing identifier "SIZEOF_INT" #if SIZEOF_INT > 4 ^ mdfour.c(149): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits out[0] = x&0xFF; ^ mdfour.c(150): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits out[1] = (x>>8)&0xFF; ^ mdfour.c(151): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits out[2] = (x>>16)&0xFF; ^ mdfour.c(152): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits out[3] = (x>>24)&0xFF; ^ crc.c(69): remark #1418: external function definition with no prior declaration void QCRC_Init(unsigned short *crcvalue) ^ crc.c(74): remark #1418: external function definition with no prior declaration void QCRC_ProcessByte(unsigned short *crcvalue, unsigned char data) ^ crc.c(76): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits *crcvalue = (*crcvalue << 8) ^ crctable[(*crcvalue >> 8) ^ data]; ^ crc.c(81): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits return crcvalue ^ QCRC_XOR_VALUE; ^ crc.c(91): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits crc = (crc << 8) ^ crctable[(crc >> 8) ^ *data++]; ^ mdfour.c(92): (col. 2) remark: LOOP WAS VECTORIZED. mdfour.c(132): (col. 2) remark: LOOP WAS VECTORIZEDicc -Wall -O2 control.c -c -o control.o . icc -Wall -O2 forward.c -c -o forward.o control.c(24): remark #1418: external function definition with no prior declaration int build_number( void ) ^ control.c(62): remark #1418: external function definition with no prior declaration FILE *FindInPaks(char *gamedir, char *filename, int *size) ^ control.c(101): remark #111: statement is unreachable return NULL; ^ control.c(104): remark #1418: external function definition with no prior declaration unsigned char *FS_ReadFile2(char *gamedir, char *filename, unsigned int *sizep) ^ control.c(169): remark #1418: external function definition with no prior declaration int SortFilesByDate(const void *a, const void *b) ^ control.c(245): remark #1418: external function definition with no prior declaration void Cluster_Run(cluster_t *cluster, qboolean dowait) ^ control.c(413): remark #1418: external function definition with no prior declaration void DoCommandLine(cluster_t *cluster, int argc, char **argv) ^ control.c(589): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits *t = *t - 146 + '0'; ^ control.c(575): remark #869: parameter "cluster" was never referenced void Sys_Printf(cluster_t *cluster, char *fmt, ...) ^ control.c(642): remark #1418: external function definition with no prior declaration void Sys_mkdir(char *name) ^ control.c(654): remark #1418: external function definition with no prior declaration void QTV_mkdir(char *path) ^ control.c(906): remark #1: last line of file ends without a newline */ ^ forward.c(34): remark #1418: external function definition with no prior declaration void CheckMVDConsistancy(unsigned char *buffer, int pos, int size) ^ forward.c(34): remark #869: parameter "buffer" was never referenced void CheckMVDConsistancy(unsigned char *buffer, int pos, int size) ^ forward.c(34): remark #869: parameter "pos" was never referenced void CheckMVDConsistancy(unsigned char *buffer, int pos, int size) ^ forward.c(34): remark #869: parameter "size" was never referenced void CheckMVDConsistancy(unsigned char *buffer, int pos, int size) ^ forward.c(115): remark #1418: external function definition with no prior declaration void Fwd_ParseCommands(cluster_t *cluster, oproxy_t *prox) ^ forward.c(175): remark #1418: external function definition with no prior declaration void Net_TryFlushProxyBuffer(cluster_t *cluster, oproxy_t *prox) ^ forward.c(226): remark #1418: external function definition with no prior declaration void Net_ProxySendString(cluster_t *cluster, oproxy_t *prox, void *buffer) ^ forward.c(275): remark #1418: external function definition with no prior declaration void Prox_SendMessage(cluster_t *cluster, oproxy_t *prox, char *buf, int length, int dem_type, unsigned int playermask) ^ forward.c(281): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(&msg, dem_type); ^ forward.c(302): remark #1418: external function definition with no prior declaration void Fwd_SendDownstream(sv_t *qtv, void *buffer, int length) ^ forward.c(311): remark #1418: external function definition with no prior declaration void Fwd_SayToDownstream(sv_t *qtv, char *message) ^ icc -Wall -O2 pmove.c -c -o pmove.o forward.c(325): remark #1418: external function definition with no prior declaration void Prox_SendPlayerStats(sv_t *qtv, oproxy_t *prox) ^ forward.c(342): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(&msg, snum); ^ forward.c(348): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(&msg, snum); ^ forward.c(349): remark #2259: non-pointer conversion from "unsigned int" to "unsigned char" may lose significant bits WriteByte(&msg, qtv->map.players[player].stats[snum]); ^ forward.c(325): remark #869: parameter "prox" was never referenced void Prox_SendPlayerStats(sv_t *qtv, oproxy_t *prox) ^ forward.c(362): remark #1418: external function definition with no prior declaration void Prox_SendInitialPlayers(sv_t *qtv, oproxy_t *prox, netmsg_t *msg) ^ forward.c(385): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte (msg, i); ^ forward.c(386): remark #2259: non-pointer conversion from "int" to "unsigned short" may lose significant bits WriteShort (msg, flags); ^ forward.c(362): remark #869: parameter "prox" was never referenced void Prox_SendInitialPlayers(sv_t *qtv, oproxy_t *prox, netmsg_t *msg) ^ forward.c(412): remark #1418: external function definition with no prior declaration void Net_GreetingMessage(oproxy_t *prox) ^ forward.c(427): remark #1418: external function definition with no prior declaration void Net_SendConnectionMVD(sv_t *qtv, oproxy_t *prox) ^ forward.c(611): warning #1224: #warning directive: This is not the place for this #warning This is not the place for this ^ forward.c(702): remark #181: argument is incompatible with corresponding format string conversion Sys_Printf(cluster, "pending proxy: Connect for unrecognized protocol %s\n", pend->inbuffer); ^ forward.c(778): remark #181: argument is incompatible with corresponding format string conversion sprintf(tempbuf, "SRCVIEWS: %i\n", qtv->numviewers); ^ forward.c(874): remark #181: argument is incompatible with corresponding format string conversion printf("Unrecognized token in QTV connection request (%s)\n", s); ^ forward.c(881): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits clientversion = atof(colon); ^ forward.c(884): warning #188: enumerated type mixed with another type raw = atoi(colon); ^ forward.c(932): remark #181: argument is incompatible with corresponding format string conversion printf("Unrecognized token in QTV connection request (%s)\n", s); ^ qw.c(870): (col. 2) remark: LOOP WAS VECTORIZEDforward.c(228): (col. 2) remark: LOOP WAS VECTORIZEDpmove.c(8): remark #1418: external function definition with no prior declaration void AngleVectors (vec3_t angles, float *forward, float *right, float *up) ^ pmove.c(13): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits angle = angles[1] * (M_PI*2 / 360); ^ pmove.c(14): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits sy = sin(angle); ^ pmove.c(15): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits cy = cos(angle); ^ pmove.c(16): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits angle = angles[0] * (M_PI*2 / 360); ^ pmove.c(17): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits sp = sin(angle); ^ pmove.c(18): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits cp = cos(angle); ^ pmove.c(19): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits angle = angles[2] * (M_PI*2 / 360); ^ pmove.c(20): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits sr = sin(angle); ^ pmove.c(21): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits cr = cos(angle); ^ pmove.c(45): remark #1418: external function definition with no prior declaration float VectorNormalize(vec3_t v) ^ pmove.c(48): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits len = Length(v); ^ pmove.c(49): remark #1572: floating-point equality and inequality comparisons are unreliable if (len) ^ pmove.c(60): remark #1418: external function definition with no prior declaration void PM_SpectatorMove (pmove_t *pmove) ^ pmove.c(72): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits speed = Length (pmove->velocity); ^ pmove.c(81): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits friction = pmove->movevars.friction*1.5; // extra friction ^ pmove.c(143): remark #2259: non-pointer conversion from "double" to "float" may lose significant bits pmove->frametime = pmove->cmd.msec * 0.001; ^ . forward.c(237): (col. 3) remark: LOOP WAS VECTORIZEDicc -Wall -O2 menu.c -c -o menu.o menu.c(5): remark #1418: external function definition with no prior declaration void Menu_Enter(cluster_t *cluster, viewer_t *viewer, int buttonnum) ^ menu.c(94): warning #188: enumerated type mixed with another type sv->disconnectwhennooneiswatching ^= 1; ^ menu.c(192): warning #188: enumerated type mixed with another type cluster->chokeonnotupdated ^= 1; ^ menu.c(196): warning #188: enumerated type mixed with another type cluster->lateforward ^= 1; ^ menu.c(200): warning #188: enumerated type mixed with another type cluster->notalking ^= 1; ^ menu.c(204): warning #188: enumerated type mixed with another type cluster->nobsp ^= 1; ^ menu.c(215): remark #1418: external function definition with no prior declaration void WriteStringSelection(netmsg_t *b, qboolean selected, const char *str) ^ menu.c(221): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits WriteByte(b, 128|*str++); ^ menu.c(231): remark #1418: external function definition with no prior declaration void Menu_Draw(cluster_t *cluster, viewer_t *viewer) ^ menu.c(249): remark #2259: non-pointer conversion from "double" to "int" may lose significant bits viewer->menuspamtime = cluster->curtime + CENTERTIME*1000; ^ menu.c(278): warning #188: enumerated type mixed with another type WriteStringSelection(&m, i==MENU_MAIN_STREAMS, "Streams "); ^ menu.c(279): warning #188: enumerated type mixed with another type WriteStringSelection(&m, i==MENU_MAIN_CLIENTLIST, "Client List "); ^ menu.c(281): warning #188: enumerated type mixed with another type WriteStringSelection(&m, i==MENU_MAIN_NEWSTREAM, "New Stream "); ^ menu.c(282): warning #188: enumerated type mixed with another type WriteStringSelection(&m, i==MENU_MAIN_DEMOS, "Demos "); ^ menu.c(284): warning #188: enumerated type mixed with another type WriteStringSelection(&m, i==MENU_MAIN_SERVERBROWSER,"Server Browser "); ^ menu.c(285): warning #188: enumerated type mixed with another type WriteStringSelection(&m, i==MENU_MAIN_ADMIN, "Admin "); ^ menu.c(287): warning #188: enumerated type mixed with another type WriteStringSelection(&m, i==MENU_MAIN_PREVPROX, "Previous Proxy "); ^ menu.c(288): warning #188: enumerated type mixed with another type WriteStringSelection(&m, i==MENU_MAIN_NEXTPROX, "Next Proxy "); ^ menu.c(290): warning #188: enumerated type mixed with another type WriteStringSelection(&m, i==MENU_MAIN_HELP, "Help "); ^ menu.c(314): warning #188: enumerated type mixed with another type WriteStringSelection(&m, viewer->menuop == i, v->name); ^ menu.c(465): remark #2259: non-pointer conversion from "int" to "unsigned char" may lose significant bits *s = 128 | (*s&~128); ^ menu.c(561): remark #1: last line of file ends without a newline } ^ . forward.c(660): (col. 5) remark: LOOP WAS VECTORIZED. forward.c(972): (col. 3) remark: LOOP WAS VECTORIZED. forward.c(985): (col. 3) remark: LOOP WAS VECTORIZED. forward.c(986): (col. 3) remark: LOOP WAS VECTORIZEDicc -Wall -O2 httpsv.c -c -o httpsv.o httpsv.c(322): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *s += 10 + *streamid-'a'; ^ httpsv.c(324): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *s += 10 + *streamid-'A'; ^ httpsv.c(326): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *s += *streamid-'0'; ^ httpsv.c(334): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *s += 10 + *streamid-'a'; ^ httpsv.c(336): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *s += 10 + *streamid-'A'; ^ httpsv.c(338): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *s += *streamid-'0'; ^ httpsv.c(404): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *s += 10 + *streamid-'a'; ^ httpsv.c(406): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *s += 10 + *streamid-'A'; ^ httpsv.c(408): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *s += *streamid-'0'; ^ httpsv.c(418): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *s += 10 + *streamid-'a'; ^ httpsv.c(420): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *s += 10 + *streamid-'A'; ^ httpsv.c(422): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *s += *streamid-'0'; ^ httpsv.c(461): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *buffer += 10 + *post-'a'; ^ httpsv.c(463): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *buffer += 10 + *post-'A'; ^ httpsv.c(465): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *buffer += *post-'0'; ^ httpsv.c(473): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *buffer += 10 + *post-'a'; ^ httpsv.c(475): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *buffer += 10 + *post-'A'; ^ httpsv.c(477): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits *buffer += *post-'0'; ^ httpsv.c(490): remark #869: parameter "streamid" was never referenced static void HTTPSV_GenerateAdmin(cluster_t *cluster, oproxy_t *dest, int streamid, char *postbody) ^ httpsv.c(636): remark #869: parameter "filename" was never referenced static void HTTPSV_GenerateDownload(cluster_t *cluster, oproxy_t *dest, char *filename) ^ . forward.c(184): (col. 2) remark: LOOP WAS VECTORIZED. forward.c(595): (col. 5) remark: LOOP WAS VECTORIZED. forward.c(606): (col. 3) remark: LOOP WAS VECTORIZED. . forward.c(460): (col. 2) remark: LOOP WAS VECTORIZED. forward.c(485): (col. 2) remark: LOOP WAS VECTORIZED. forward.c(488): (col. 2) remark: LOOP WAS VECTORIZED. forward.c(491): (col. 3) remark: LOOP WAS VECTORIZED. forward.c(288): (col. 3) remark: LOOP WAS VECTORIZED. forward.c(297): (col. 2) remark: LOOP WAS VECTORIZED. forward.c(299): (col. 2) remark: LOOP WAS VECTORIZED. icc -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