Nmap Development mailing list archives
Re: Nmap 5 (14531) - compilation warnings
From: David Fifield <david () bamsoftware com>
Date: Thu, 6 Aug 2009 18:21:29 -0600
On Thu, Jul 30, 2009 at 02:36:07PM +0200, Sebastian Lopienski wrote:
(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?
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. David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Nmap 5 (14531) - compilation warnings Sebastian Lopienski (Jul 30)
- Re: Nmap 5 (14531) - compilation warnings Henri Salo (Jul 30)
- Re: Nmap 5 (14531) - compilation warnings David Fifield (Aug 06)
- RE: Nmap 5 (14531) - compilation warnings Sebastian Lopienski (Aug 11)
- Re: Nmap 5 (14531) - compilation warnings David Fifield (Aug 31)
- <Possible follow-ups>
- Nmap 5 (14531) - compilation warnings Sebastian Lopienski (Aug 02)