Nmap Development mailing list archives

Re: Cross-compiling error


From: David Fifield <david () bamsoftware com>
Date: Thu, 30 May 2013 20:56:59 -0700

On Mon, Mar 18, 2013 at 01:28:28PM +0000, Nuno Gonçalves wrote:
With current revision (30683) I get the following error when cross-compiling:

targets.cc: In member function 'int
TargetGroup::get_next_host(sockaddr_storage*, size_t*)':
targets.cc:339:70: error: 'dynamic_cast' not permitted with -fno-rtti

What is your cross-compiling configuration? I think it is a matter of
the cross compiler configure with -fno-rtti.

I think that we use RTTI in only one place, TargetGroup::get_next_host.
If you have a nice patch to do the same thing without RTTI, I will
probably accept it.

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

Current thread: