Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make[1]: Entering directory `/home/Ritsuko/iodine/src'
- OS is WINDOWS32, arch is i686
- CC tun.c
- /bin/sh: git: command not found
- CC dns.c
- /bin/sh: git: command not found
- CC read.c
- /bin/sh: git: command not found
- CC encoding.c
- /bin/sh: git: command not found
- CC login.c
- /bin/sh: git: command not found
- CC base32.c
- /bin/sh: git: command not found
- CC base64.c
- /bin/sh: git: command not found
- Making base64u.c
- Making base64u.h
- CC base64u.c
- /bin/sh: git: command not found
- CC base128.c
- /bin/sh: git: command not found
- CC md5.c
- /bin/sh: git: command not found
- CC window.c
- /bin/sh: git: command not found
- CC common.c
- /bin/sh: git: command not found
- CC util.c
- /bin/sh: git: command not found
- CC iodine.c
- /bin/sh: git: command not found
- CC client.c
- /bin/sh: git: command not found
- client.c: In function 'update_server_timeout':
- client.c:378:20: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t {aka long long int}' [-Wformat=]
- fprintf(stderr, "Target interval of %ld ms less than average round-trip of "
- ^
- client.c:378:20: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t {aka long long int}' [-Wformat=]
- client.c:385:21: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t {aka long long int}' [-Wformat=]
- fprintf(stderr, "Adjusting server timeout to %ld ms, target interval %ld ms. Try -I%.1f next time with this network.\n",
- ^
- client.c:385:21: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t {aka long long int}' [-Wformat=]
- In file included from client.c:49:0:
- client.c: In function 'send_query':
- client.c:537:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- DEBUG(3, "TX: pkt len %lu: hostname '%s'", strlen((char *)hostname), hostname);
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- client.c:555:13: warning: pointer targets in passing argument 2 of 'sendto' differ in signedness [-Wpointer-sign]
- sendto(fd, packet, len, 0, (struct sockaddr*) &nameserv_addrs[current_nameserver],
- ^
- In file included from windows.h:24:0,
- from client.c:34:
- c:\msys\mingw\x86_64-w64-mingw32\include\winsock2.h:998:34: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}'
- WINSOCK_API_LINKAGE int WSAAPI sendto(SOCKET s,const char *buf,int len,int flags,const struct sockaddr *to,int tolen);
- ^
- In file included from client.c:49:0:
- client.c: In function 'send_ping':
- client.c:669:12: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t {aka long long int}' [-Wformat=]
- DEBUG(3, " SEND PING: respond %d, ack %d, %s(server %ld ms, downfrag %ld ms), flags %02X",
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- client.c:669:12: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t {aka long long int}' [-Wformat=]
- DEBUG(3, " SEND PING: respond %d, ack %d, %s(server %ld ms, downfrag %ld ms), flags %02X",
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- client.c: In function 'send_next_frag':
- client.c:733:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- DEBUG(3, " SEND DATA: seq %d, ack %d, len %lu, s%d e%d c%d flags %1X",
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- client.c: In function 'read_dns_withq':
- client.c:901:28: warning: pointer targets in passing argument 2 of 'recvfrom' differ in signedness [-Wpointer-sign]
- if ((r = recvfrom(dns_fd, data, sizeof(data), 0,
- ^
- In file included from windows.h:24:0,
- from client.c:34:
- c:\msys\mingw\x86_64-w64-mingw32\include\winsock2.h:993:34: note: expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}'
- WINSOCK_API_LINKAGE int WSAAPI recvfrom(SOCKET s,char *buf,int len,int flags,struct sockaddr *from,int *fromlen);
- ^
- client.c:990:23: warning: passing argument 2 of 'uncompress' from incompatible pointer type [-Wincompatible-pointer-types]
- if (uncompress(buf, &datalen, data + RAW_HDR_LEN, r) == Z_OK) {
- ^
- In file included from client.c:29:0:
- c:\msys\mingw\x86_64-w64-mingw32\include\zlib.h:1197:21: note: expected 'uLongf * {aka long unsigned int *}' but argument is of type 'size_t * {aka long long unsigned int *}'
- ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
- ^
- In file included from client.c:49:0:
- client.c: In function 'parse_data':
- client.c:1114:12: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- DEBUG(3, "PING pkt data=%lu WS: up=%u, dn=%u; Start: up=%u, dn=%u",
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- client.c: In function 'tunnel_tun':
- client.c:1135:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'ssize_t {aka long long int}' [-Wformat=]
- DEBUG(2, " IN: %lu bytes on tunnel, to be compressed: %d", read, compression_up);
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- client.c:1139:18: warning: passing argument 2 of 'compress2' from incompatible pointer type [-Wincompatible-pointer-types]
- compress2(out, &datalen, in, read, 9);
- ^
- In file included from client.c:29:0:
- c:\msys\mingw\x86_64-w64-mingw32\include\zlib.h:1174:21: note: expected 'uLongf * {aka long unsigned int *}' but argument is of type 'size_t * {aka long long unsigned int *}'
- ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen,
- ^
- In file included from client.c:49:0:
- client.c:1149:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- DEBUG(1, " Outgoing buffer full (%lu/%lu), not adding data!",
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- client.c:1149:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- DEBUG(1, " Outgoing buffer full (%lu/%lu), not adding data!",
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- client.c: In function 'tunnel_dns':
- client.c:1206:22: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- fprintf(stderr, "Hmm, that's %ld SERVFAILs. Your data should still go through...\n", num_servfail);
- ^
- client.c:1213:22: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- fprintf(stderr, "Too many SERVFAILs (%ld), reducing timeout to"
- ^
- client.c:1245:20: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- fprintf(stderr, "BADIP (%ld): Server rejected sender IP address (maybe iodined -c will help), or server "
- ^
- client.c:1263:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- fprintf(stderr, " RX %s; frag ID %3u, ACK %3d, compression %d, datalen %lu, s%d e%d\n",
- ^
- client.c:1303:31: warning: passing argument 2 of 'uncompress' from incompatible pointer type [-Wincompatible-pointer-types]
- if ((res = uncompress(buf, &buflen, cbuf, datalen)) != Z_OK) {
- ^
- In file included from client.c:29:0:
- c:\msys\mingw\x86_64-w64-mingw32\include\zlib.h:1197:21: note: expected 'uLongf * {aka long unsigned int *}' but argument is of type 'size_t * {aka long long unsigned int *}'
- ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
- ^
- In file included from client.c:49:0:
- client.c:1304:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- DEBUG(1, "Uncompress failed (%d) for data len %lu: reassembled data corrupted or incomplete!", res, datalen);
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- client.c: In function 'client_tunnel':
- client.c:1424:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- fprintf(stderr, " Queries sent: %8lu" ", answered: %8lu" ", SERVFAILs: %4lu\n",
- ^
- client.c:1424:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- client.c:1424:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- client.c:1426:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- fprintf(stderr, " last %3d secs: %7lu" " (%4lu/s), replies: %7lu" " (%4lu/s)\n",
- ^
- client.c:1426:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- client.c:1426:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- client.c:1426:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- client.c:1429:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- fprintf(stderr, " num IP rejected: %4lu, untracked: %4lu, lazy mode: %1d\n",
- ^
- client.c:1429:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- client.c:1431:21: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t {aka long long int}' [-Wformat=]
- fprintf(stderr, " Min send: %5ld ms, Avg RTT: %5ld ms Timeout server: %4ld ms\n",
- ^
- client.c:1431:21: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'long long unsigned int' [-Wformat=]
- client.c:1431:21: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t {aka long long int}' [-Wformat=]
- client.c:1433:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- fprintf(stderr, " Queries immediate: %5lu, timed out: %4lu target: %4ld ms\n",
- ^
- client.c:1433:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- client.c:1433:21: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t {aka long long int}' [-Wformat=]
- client.c:1436:22: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t {aka long long int}' [-Wformat=]
- fprintf(stderr, " Frags resent: %4u, OOS: %4u down frag: %4ld ms\n",
- ^
- client.c:1438:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- fprintf(stderr, " TX fragments: %8lu" ", RX: %8lu" ", pings: %8lu" "\n\n",
- ^
- client.c:1438:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- client.c:1438:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- In file included from client.c:49:0:
- client.c:1463:12: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t {aka long long int}' [-Wformat=]
- DEBUG(4, "Waiting %ld ms before sending more... (min_send %d)", timeval_to_ms(&tv), use_min_send);
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- client.c: In function 'handshake_set_timeout':
- client.c:2616:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- fprintf(stderr, "Setting window sizes to %lu frags upstream, %lu frags downstream...",
- ^
- client.c:2616:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- client.c:2644:19: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long unsigned int' [-Wformat=]
- fprintf(stderr, "\nDetermined round-trip time of %ld ms, server timeout of %ld ms.\n",
- ^
- client.c:2644:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t {aka long long int}' [-Wformat=]
- LD ../bin/iodine
- CC iodined.c
- /bin/sh: git: command not found
- CC user.c
- /bin/sh: git: command not found
- In file included from user.h:23:0,
- from user.c:36:
- server.h:73:14: warning: '__progname' defined but not used [-Wunused-variable]
- static char *__progname;
- ^
- CC fw_query.c
- /bin/sh: git: command not found
- CC server.c
- /bin/sh: git: command not found
- In file included from server.c:33:0:
- server.c: In function 'qmem_is_cached':
- server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
- ^
- common.h:101:19: note: in definition of macro 'TIMEPRINT'
- fprintf(stderr, __VA_ARGS__);
- ^
- server.c:199:3: note: in expansion of macro 'QMEM_DEBUG'
- QMEM_DEBUG(2, userid, "OUT from qmem for '%s', %s", q->name,
- ^
- server.c: In function 'qmem_append':
- server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
- ^
- common.h:101:19: note: in definition of macro 'TIMEPRINT'
- fprintf(stderr, __VA_ARGS__);
- ^
- server.c:217:3: note: in expansion of macro 'QMEM_DEBUG'
- QMEM_DEBUG(2, userid, "Full of pending queries! Replacing old query %d with new %d.",
- ^
- server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
- ^
- common.h:101:19: note: in definition of macro 'TIMEPRINT'
- fprintf(stderr, __VA_ARGS__);
- ^
- server.c:228:2: note: in expansion of macro 'QMEM_DEBUG'
- QMEM_DEBUG(5, userid, "add query ID %d, timeout %lu ms", q->id, timeval_to_ms(&users[userid].dns_timeout));
- ^
- server.c:228:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'time_t {aka long long int}' [-Wformat=]
- QMEM_DEBUG(5, userid, "add query ID %d, timeout %lu ms", q->id, timeval_to_ms(&users[userid].dns_timeout));
- ^
- server.c:148:19: note: in definition of macro 'QMEM_DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- In file included from server.c:33:0:
- server.c: In function 'qmem_answered':
- server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
- ^
- common.h:101:19: note: in definition of macro 'TIMEPRINT'
- fprintf(stderr, __VA_ARGS__);
- ^
- server.c:250:3: note: in expansion of macro 'QMEM_DEBUG'
- QMEM_DEBUG(1, userid, "Query answered with 0 in qmem! Fix bugs.");
- ^
- server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
- ^
- common.h:101:19: note: in definition of macro 'TIMEPRINT'
- fprintf(stderr, __VA_ARGS__);
- ^
- server.c:261:4: note: in expansion of macro 'QMEM_DEBUG'
- QMEM_DEBUG(1, userid, "got answer with length >4096!");
- ^
- server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
- ^
- common.h:101:19: note: in definition of macro 'TIMEPRINT'
- fprintf(stderr, __VA_ARGS__);
- ^
- server.c:268:2: note: in expansion of macro 'QMEM_DEBUG'
- QMEM_DEBUG(3, userid, "query ID %d answered", buf->queries[answered].q.id);
- ^
- server.c: In function 'qmem_get_next_response':
- server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
- ^
- common.h:101:19: note: in definition of macro 'TIMEPRINT'
- fprintf(stderr, __VA_ARGS__);
- ^
- server.c:282:2: note: in expansion of macro 'QMEM_DEBUG'
- QMEM_DEBUG(3, userid, "next response using cached query: ID %d", q->id);
- ^
- server.c: In function 'qmem_max_wait':
- server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
- ^
- common.h:101:19: note: in definition of macro 'TIMEPRINT'
- fprintf(stderr, __VA_ARGS__);
- ^
- server.c:354:5: note: in expansion of macro 'QMEM_DEBUG'
- QMEM_DEBUG(3, userid, "Auto response to cached query: ID %d, %ld ms old (%s), timeout %ld ms",
- ^
- server.c:354:27: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t {aka long long int}' [-Wformat=]
- QMEM_DEBUG(3, userid, "Auto response to cached query: ID %d, %ld ms old (%s), timeout %ld ms",
- ^
- server.c:148:19: note: in definition of macro 'QMEM_DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- server.c:354:27: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t {aka long long int}' [-Wformat=]
- QMEM_DEBUG(3, userid, "Auto response to cached query: ID %d, %ld ms old (%s), timeout %ld ms",
- ^
- server.c:148:19: note: in definition of macro 'QMEM_DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- In file included from server.c:33:0:
- server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
- ^
- common.h:101:19: note: in definition of macro 'TIMEPRINT'
- fprintf(stderr, __VA_ARGS__);
- ^
- server.c:358:5: note: in expansion of macro 'QMEM_DEBUG'
- QMEM_DEBUG(4, userid, "ANSWER q id %d, ACK %d; sent %lu of %lu + sending another %lu",
- ^
- server.c:358:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- QMEM_DEBUG(4, userid, "ANSWER q id %d, ACK %d; sent %lu of %lu + sending another %lu",
- ^
- server.c:148:19: note: in definition of macro 'QMEM_DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- server.c:358:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- QMEM_DEBUG(4, userid, "ANSWER q id %d, ACK %d; sent %lu of %lu + sending another %lu",
- ^
- server.c:148:19: note: in definition of macro 'QMEM_DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- server.c:358:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- QMEM_DEBUG(4, userid, "ANSWER q id %d, ACK %d; sent %lu of %lu + sending another %lu",
- ^
- server.c:148:19: note: in definition of macro 'QMEM_DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- In file included from server.c:33:0:
- server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
- ^
- common.h:101:19: note: in definition of macro 'TIMEPRINT'
- fprintf(stderr, __VA_ARGS__);
- ^
- server.c:383:4: note: in expansion of macro 'QMEM_DEBUG'
- QMEM_DEBUG(5, nextuser, "can wait for %lu ms, will send id %d", soonest_ms, nextq->id);
- ^
- server.c:383:28: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'time_t {aka long long int}' [-Wformat=]
- QMEM_DEBUG(5, nextuser, "can wait for %lu ms, will send id %d", soonest_ms, nextq->id);
- ^
- server.c:148:19: note: in definition of macro 'QMEM_DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- In file included from server.c:33:0:
- server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
- ^
- common.h:101:19: note: in definition of macro 'TIMEPRINT'
- fprintf(stderr, __VA_ARGS__);
- ^
- server.c:389:5: note: in expansion of macro 'QMEM_DEBUG'
- QMEM_DEBUG(5, nextuser, "Resending some fragments")
- ^
- server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
- ^
- common.h:101:19: note: in definition of macro 'TIMEPRINT'
- fprintf(stderr, __VA_ARGS__);
- ^
- server.c:391:5: note: in expansion of macro 'QMEM_DEBUG'
- QMEM_DEBUG(2, nextuser, "Don't need to send anything to any users, waiting %lu ms", soonest_ms);
- ^
- server.c:391:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'time_t {aka long long int}' [-Wformat=]
- QMEM_DEBUG(2, nextuser, "Don't need to send anything to any users, waiting %lu ms", soonest_ms);
- ^
- server.c:148:19: note: in definition of macro 'QMEM_DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- server.c: In function 'user_send_data':
- server.c:575:18: warning: passing argument 2 of 'compress2' from incompatible pointer type [-Wincompatible-pointer-types]
- compress2(out, &datalen, indata, len, 9);
- ^
- In file included from server.c:30:0:
- c:\msys\mingw\x86_64-w64-mingw32\include\zlib.h:1174:21: note: expected 'uLongf * {aka long unsigned int *}' but argument is of type 'size_t * {aka long long unsigned int *}'
- ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen,
- ^
- server.c:579:25: warning: passing argument 2 of 'uncompress' from incompatible pointer type [-Wincompatible-pointer-types]
- ret = uncompress(out, &datalen, indata, len);
- ^
- In file included from server.c:30:0:
- c:\msys\mingw\x86_64-w64-mingw32\include\zlib.h:1197:21: note: expected 'uLongf * {aka long unsigned int *}' but argument is of type 'size_t * {aka long long unsigned int *}'
- ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
- ^
- In file included from server.c:33:0:
- server.c:581:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- DEBUG(1, "FAIL: Uncompress == %d: %lu bytes to user %d!", ret, len, userid);
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- server.c: In function 'handle_full_packet':
- server.c:835:25: warning: passing argument 2 of 'uncompress' from incompatible pointer type [-Wincompatible-pointer-types]
- ret = uncompress(out, &rawlen, data, len);
- ^
- In file included from server.c:30:0:
- c:\msys\mingw\x86_64-w64-mingw32\include\zlib.h:1197:21: note: expected 'uLongf * {aka long unsigned int *}' but argument is of type 'size_t * {aka long long unsigned int *}'
- ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
- ^
- In file included from server.c:33:0:
- server.c:846:12: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- DEBUG(2, "FULL PKT: %lu bytes from user %d (touser %d)", len, userid, touser);
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- server.c: In function 'handle_raw_login':
- server.c:869:12: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- DEBUG(2, "Invalid raw login packet: length %lu < 16 bytes!", len);
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- server.c:879:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- DEBUG(1, "RX-raw: login, len %lu, from user %d", len, userid);
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- server.c: In function 'handle_raw_data':
- server.c:913:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- DEBUG(3, "RX-raw: full pkt raw, length %lu, from user %d", len, userid);
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- server.c: In function 'raw_decode':
- server.c:950:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- DEBUG(3, "RX-raw: client %s, user %d, raw command 0x%02X, length %lu",
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- server.c: In function 'read_dns':
- server.c:1004:19: warning: pointer targets in passing argument 2 of 'recvfrom' differ in signedness [-Wpointer-sign]
- r = recvfrom(fd, packet, sizeof(packet), 0, (struct sockaddr*)&from, &addrlen);
- ^
- In file included from windows.h:24:0,
- from common.h:36,
- from server.c:33:
- c:\msys\mingw\x86_64-w64-mingw32\include\winsock2.h:993:34: note: expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}'
- WINSOCK_API_LINKAGE int WSAAPI recvfrom(SOCKET s,char *buf,int len,int flags,struct sockaddr *from,int *fromlen);
- ^
- In file included from server.c:33:0:
- server.c: In function 'write_dns':
- server.c:1169:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- DEBUG(3, "TX: client %s ID %5d, %lu bytes data, type %d, name '%10s'",
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- server.c: In function 'handle_null_request':
- server.c:1196:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=]
- DEBUG(3, "NULL request length %d/%lu, command '%c'", domain_len, sizeof(in), in[0]);
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- server.c:1228:5: warning: implicit declaration of function 'syslog' [-Wimplicit-function-declaration]
- syslog(LOG_INFO, "Accepted version for user #%d from %s",
- ^
- server.c:1228:12: error: 'LOG_INFO' undeclared (first use in this function)
- syslog(LOG_INFO, "Accepted version for user #%d from %s",
- ^
- server.c:1228:12: note: each undeclared identifier is reported only once for each function it appears in
- server.c:1267:11: error: 'LOG_WARNING' undeclared (first use in this function)
- syslog(LOG_WARNING, "dropped login request from user #%d from %s; expected source %s",
- ^
- server.c:1288:12: error: 'LOG_NOTICE' undeclared (first use in this function)
- syslog(LOG_NOTICE, "accepted password from user #%d, given IP %s", userid, tmp[1]);
- ^
- In file included from server.c:33:0:
- server.c:1591:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- DEBUG(1, "Invalid ping! Length %lu", read);
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- server.c:1703:12: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
- DEBUG(3, "frag seq %3u, datalen %5lu, ACK %3d, compression %1d, s%1d e%1d",
- ^
- common.h:106:20: note: in definition of macro 'DEBUG'
- fprintf(stderr, __VA_ARGS__);\
- ^
- In file included from user.h:23:0,
- from server.c:42:
- server.c: At top level:
- server.h:73:14: warning: '__progname' defined but not used [-Wunused-variable]
- static char *__progname;
- ^
- make[1]: *** [server.o] Error 1
- make[1]: Leaving directory `/home/Ritsuko/iodine/src'
- make: *** [cross-mingw64] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement