Nmap Development mailing list archives

Re: can not compile recent svn nmap on windows vc 2010


From: Henri Doreau <henri.doreau () gmail com>
Date: Sun, 12 May 2013 23:18:37 +0200

2013/5/12 Henri Doreau <henri.doreau () gmail com>:
2013/5/12 Rob Nicholls <robert () robnicholls co uk>:
Hi Henri,

Thanks, I wasn't expecting such a quick response on a Sunday! My comments
are also inline.

-----Original Message-----
From: Henri Doreau [mailto:henri.doreau () gmail com]
Sent: 12 May 2013 18:44
To: Rob Nicholls
Cc: Nmap dev; jaebum shin
Subject: Re: can not compile recent svn nmap on windows vc 2010

Hi Rob,

thanks for the report. My comments inline.

I don't fully understand this error. What does the compiler complain
about? It
doesn't seem to me that any structure is re-defined... How did you fix it?

Visual C++ seems to be complaining that line 71 of proxy_http.c contains the
line:

const struct proxy_spec ProxySpecHttp;

Simpler fix maybe. Can you try to add the "extern" keyword in front of
this line (and the equivalent one in proxy_socks.c)?

--
Henri
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: