Nmap Development mailing list archives
Re: Nmap 5 (14531) - compilation warnings
From: David Fifield <david () bamsoftware com>
Date: Mon, 31 Aug 2009 09:05:48 -0600
On Thu, Jul 30, 2009 at 02:36:07PM +0200, Sebastian Lopienski wrote:
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. ncat_proxy.c: In function 'ncat_http_server': ncat_proxy.c:161: warning: dereferencing type-punned pointer will break strict-aliasing rules ncat_broker.c: In function 'read_and_broadcast': ncat_broker.c:323: warning: passing argument 2 of 'fix_line_endings' from incompatible pointer type ncat_broker.c:371: warning: passing argument 4 of 'chat_filter' from incompatible pointer type scan_engine.cc: In function 'void begin_sniffer(UltraScanInfo*, std::vector<Target*, std::allocator<Target*> >&)': scan_engine.cc:5040: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'long unsigned int'
I believe the above warnings have all been fixed.
ncat_ssl.c: In function 'ssl_cert_fp_str_sha1': ncat_ssl.c:425: warning: passing argument 4 of 'X509_digest' from incompatible pointer type
For this one, what is the declaration of ASN1_digest in <openssl/x509.h>, and what version of OpenSSL is it? 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)