Hi...
I'm debian maintainer of slirp, and I've a diff to
eliminate a lot of compilation warnings, at least
compiling slirp on Linux.
After applying it, you can compile slirp with -Wall
-Wno-unused and there are only two warnings remaining:
gcc -Wall -Wno-unused -g -I. -DUSE_PPP
-fno-strict-aliasing -O2 -c ./ppp/lcp.c
./ppp/lcp.c: In function ‘lcp_reqci’:
./ppp/lcp.c:1035: warning: ‘citype’ may be used
uninitialized in this function
gcc -Wall -Wno-unused -g -I. -DUSE_PPP
-fno-strict-aliasing -O2 -DFULL_BOLT -c ./ppp.c
./ppp.c: In function ‘output’:
./ppp.c:679: warning: pointer targets in assignment
differ in signedness
Please consider to apply it when you release the next
version.
It is against 1.0.17 version of slirp.
Regards,
Roberto Lumbreras <rover@debian.org>
clean up compilation warnings