Nmap Development mailing list archives

Re: nmap 7.12: const_reverse_iterator vs reverse_iterator


From: Christian Cornelssen <ccorn () 1tein de>
Date: Tue, 3 May 2016 23:20:37 +0200

False alarm, sorry. It's been fixed already.

The compilation errors occured for nmap-7.01 using g++-4.2,
After fixing the const issue I prepared a local modification
to the corresponding MacPorts Portfile, and in that course updated
the Portfile to its most recent SVN snapshot which is at nmap-7.12.

My patch is still applicable but no longer necessary because
the released 7.12 uses crend() instead of rend() which works as well.

Therefore, dear mods, you need not let my two emails pass,
but if you do, please include this one. :-)

Am Tue, 3 May 2016 22:31:27 +0200
schrieb Christian Cornelssen <ccorn () 1tein de>:

Hi folks,

note: I am not subscribed to this list.

I built nmap-7.12 from source today on an older platform with g++-4.2.

Turns out that the string reverse_iterator and const_reverse_iterator
types are not comparable using operator!=.
Fortunately, this could be fixed with an additional const.
Patch attached.

Regards,

Attachment: _bin
Description: Digitale Signatur von OpenPGP

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

Current thread: