Menu

#4 0.1.0-pre3 [PATCH] Compile fixes

open
nobody
None
5
2014-08-25
2009-12-16
Jari Aalto
No

Cf. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561389

Compiling desproxy gives following compiling warnings. Please apply the patch found at
Debian link above to fix these issues.

ccache gcc -Wall -g -O2 -Wall -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c util.c
util.c: In function 'get_console_line':
util.c:82: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness
util.c:83: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
util.c:86: warning: pointer targets in return differ in signedness
util.c: In function 'parse_HTTP_return_code':
util.c:247: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
util.c:259: warning: pointer targets in return differ in signedness
util.c: In function 'connect_host_to_proxy':
util.c:388: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
util.c:389: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
util.c:390: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
util.c:391: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
util.c:392: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
util.c:393: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
util.c:394: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
util.c:395: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
util.c:396: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
util.c:405: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
util.c:412: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
util.c:413: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
util.c:417: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
util.c:418: warning: pointer targets in passing argument 2 of 'strsend' differ in signedness
util.c:427: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
util.c:427: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
util.c:427: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
util.c:427: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
util.c:427: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
util.c:427: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
util.c: In function 'get_username_and_password':
util.c:639: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
util.c:641: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
util.c:641: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
util.c:641: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
util.c:641: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
util.c:641: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
util.c:641: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
ccache gcc -Wall -g -O2 -Wall util.o desproxy.o -o desproxy
ccache gcc -Wall -g -O2 -Wall -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c desproxy-inetd.c
ccache gcc -Wall -g -O2 -Wall util.o desproxy-inetd.o -o desproxy-inetd
ccache gcc -Wall -g -O2 -Wall -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c desproxy-socksserver.c
desproxy-socksserver.c: In function 'method_accepted_v5':
desproxy-socksserver.c:241: warning: pointer targets in passing argument 2 of '__builtin_strncat' differ in signedness
desproxy-socksserver.c: In function 'process_connection_request':
desproxy-socksserver.c:366: warning: pointer targets in passing argument 3 of 'accept' differ in signedness
ccache gcc -Wall -g -O2 -Wall util.o desproxy-socksserver.o -o desproxy-socksserver
ccache gcc -Wall -g -O2 -Wall -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c desproxy-dns.c
desproxy-dns.c: In function 'process_connection_request':
desproxy-dns.c:167: warning: pointer targets in passing argument 3 of 'accept' differ in signedness
desproxy-dns.c: In function 'main':
desproxy-dns.c:282: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness
ccache gcc -Wall -g -O2 -Wall util.o desproxy-dns.o -o desproxy-dns
ccache gcc -Wall -g -O2 -Wall -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -c socket2socket.c
socket2socket.c: In function 'main':
socket2socket.c:135: warning: pointer targets in passing argument 3 of 'accept' differ in signedness
ccache gcc -Wall -g -O2 -Wall util.o socket2socket.o -o socket2socket

Discussion


Log in to post a comment.