Nmap Development mailing list archives

Use of ISO646 feature


From: Gisle Vanem <gvanem () yahoo no>
Date: Sun, 05 Apr 2015 14:43:18 +0200

While compiling Nnap (latest SVN-repo version) using MSVC v18, I see
this:

cl -nologo .. -c TargetGroup.cc
TargetGroup.cc(641) : error C2146: syntax error : missing ')' before identifier 'or'
TargetGroup.cc(641) : error C2065: 'or' : undeclared identifier

(gcc includes iso646.h/ciso646 internally). So can you please add
a '#include <ciso646>' somewhere? Or just drop those IMHO silly ISO/C++
features.

The history of TargetGroup.cc:
  https://github.com/nmap/nmap/commits/master/TargetGroup.cc

don't indicate when this was added. Is the version at Github unrelated
to the real thing at svn.nmap.org/nmap?

And BTW, there are issues with the lastest OpenSSL;
cl ... -c nse_openssl.cc
  nse_openssl.cc(100) : error C3861: 'BN_CTX_init': identifier not found

The Heartbleed bug last year have created panic among the OpenSSL
developers. So they've hidden this function and the layout of 'BN_CTX'
i.e. 'struct bignum_ctx'.

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


Current thread: