Nmap Development mailing list archives

nmap 7.12: const_reverse_iterator vs reverse_iterator


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

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,
-- 
Christian Cornelssen

Attachment: patch-nmap_dns.cc.diff
Description:

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: