Nmap Development mailing list archives

RE: Nmap 5 (14531) - compilation warnings


From: Sebastian Lopienski <Sebastian.Lopienski () cern ch>
Date: Tue, 11 Aug 2009 11:26:06 +0200

Hi David,

(I have taken over Nmap maintenance at CERN from Lionel Cons, who you
have seen on this list before).

First, thank you for your efforts on developing Nmap 5! I'm not sure
if you are interested in this kind of feedback, but here are
compilation warnings I got for Nmap 5 (revision 14531) on my Linux
box. It is Scientific Linux CERN 5 (based on Red Hat Enterprise 5)
machine, kernel 2.6.18-128.1.10.el5, architecture x86_64.

Thanks for this. What is the compiler and libc version?

I'm using glibc 2.5-34.x86_64, and gcc 4.1.2-44.el5.x86_64 (20080704).

intf.c: In function 'intf_get_dst':
intf.c:650: warning: pointer targets in passing argument 3 of
'getsockname' differ in signedness
ip.c: In function 'ip_open':
ip.c:43: warning: pointer targets in passing argument 5 of 'getsockopt'
differ in signedness

I think I have fixed this by using socklen_t for the relevant
parameters.

I will look at the other warnings. I think most of them are 64-bit only
because I don't see them on my 32-bit machine.

Thanks!

Cheers,
Sebastian Lopienski


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: