Nmap Development mailing list archives

Re: [PATCH] Compilation failing without Lua (--without-liblua)


From: Brandon Enright <bmenrigh () ucsd edu>
Date: Sun, 24 Jan 2010 09:21:52 +0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 24 Jan 2010 04:13:20 -0500 or thereabouts Patrick Donnelly
<batrick () batbytes com> wrote:

On Sun, Jan 24, 2010 at 4:06 AM, Brandon Enright <bmenrigh () ucsd edu>
wrote:
Yeah so do a few other headers that seemed like they should have
been taking care of the problem.

The other headers #include <string.h> (not <string>). The difference
is apparently significant although I don't really know in what way
(I'm not really a C++ guy).


Well most include string.h but:

nmap_dns.h:#include <string>
nse_main.h:#include <string>
NmapOps.h:#include <string>
TargetGroup.h:#include <string>

I'm not really a C++ guy either but clearly <string> is some sort of
C++ standard library beyond the standard routines we get with string.h

It's rather surprising how big the gap is between being able to
read/modify/add to existing code versus being able to start from
scratch and create new code.  I can start with a blank file in Perl,
C and a few other languages but don't ask me to do that for C++ :-)

Brandon

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAktcETYACgkQqaGPzAsl94I1kQCgiCHebJfvOqW+XHoE0VSCxw49
4oMAnjep8DHD2tbTLyaqt5w2IRvWJuGb
=ZMqF
-----END PGP SIGNATURE-----
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: