[Pdns-dev] compiling pdns by icc

bert hubert ahu at ds9a.nl
Mon Oct 27 15:16:08 CET 2003


On Fri, Oct 24, 2003 at 03:22:26PM +0200, Norbert Sendetzky wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Friday 24 October 2003 12:08, Norbert Sendetzky wrote:
> > Furthermore I've changed the line below in
> > pdns/backend/bind/bindbackend.hh and
> > pdns/backend/bind/bindbackend2.hh:
> >
> > - typedef hash_map<string,vector<BBResourceRecord>, hash_string,
> > compare_string> cmap_t;
> > + typedef hash_map<string,vector<BBResourceRecord> > cmap_t;
> 
> I finally changed it to
> typedef map<string,vector<BBResourceRecord> > cmap_t;

Which is not good for the gcc users. A better way is to hook into the logic
for Visual C++ which also has no hash_map. Or figure out what the hash_map
of icc is called.

Thanks for the effort though!

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


More information about the Pdns-dev mailing list