Nmap Development mailing list archives
Re: Some patches
From: David Fifield <david () bamsoftware com>
Date: Wed, 10 Oct 2012 21:46:27 -0700
On Mon, Oct 08, 2012 at 10:56:25AM +0400, arrowdodger wrote:
For the bind() call: scan_engine.cc:2907:48: error: invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned long &>' and 'int') if (bind(sd, (struct sockaddr*)&ss, sslen) != 0) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ Without :: clang confuses C bind function and std::bind().
In r30007 I just got rid of "using namespace std" entirely, which should solve this problem as well. David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Some patches arrowdodger (Oct 05)
- Re: Some patches David Fifield (Oct 06)
- Re: Some patches arrowdodger (Oct 09)
- Re: Some patches David Fifield (Oct 10)
- Re: Some patches David Fifield (Oct 10)
- Re: Some patches David Fifield (Oct 10)
- Re: Some patches arrowdodger (Oct 09)
- Re: Some patches David Fifield (Oct 06)