On Mon, Sep 10, 2012 at 08:29:44AM +0200, Christof Meerwald wrote: > On Fri, 7 Sep 2012 13:51:44 +0200, Peter van Dijk wrote: > > On Sep 7, 2012, at 12:55 , Justin Clift wrote: > >> ./cachecleaner.hh:21:38: error: expected expression > >> sequence_t& sidx=collection.get<1>(); > > We've heard of these before, from other Clang 3.1 users. I'm not sure > > anyone has proposed a fix yet. I'm also not sure whether this is a bug in > > Clang or in PowerDNS. I will report back if and when I find out more. > > Wouldn't that just need an additional template keyword as collection > is a dependent name, i.e. > > sequence_t& sidx=collection.template get<1>();
That was indeed the problem, and again lower down for .project<>. Thanks Christof! The fix can be found on http://wiki.powerdns.com/trac/changeset/2708 Bert -- PowerDNS Website: http://www.powerdns.com/ PowerDNS Community Website: http://wiki.powerdns.com/ PowerDNS is supported and developed by Netherlabs: http://www.netherlabs.nl _______________________________________________ Pdns-dev mailing list Pdns-dev@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-dev