dnspacket.cc: In function 'bool checkForCorrectTSIG(const DNSPacket*, 
DNSBackend*, string*, string*, TSIGRecordContent*)':
dnspacket.cc:596:27: error: call of overloaded 'abs(uint64_t)' is ambiguous
dnspacket.cc:596:27: note: candidates are:
In file included from /usr/include/stdlib.h:18:0,
                 from 
/opt/lib/gcc/sparc-sun-solaris2.10/4.7.1/../../../../include/c++/4.7.1/cstdlib:66,
                 from 
/opt/lib/gcc/sparc-sun-solaris2.10/4.7.1/../../../../include/c++/4.7.1/bits/stl_algo.h:61,
                 from 
/opt/lib/gcc/sparc-sun-solaris2.10/4.7.1/../../../../include/c++/4.7.1/algorithm:63,
                 from /opt/include/boost-1_38/boost/shared_ptr.hpp:41,
                 from namespaces.hh:5,
                 from utility.hh:74,
                 from dnspacket.cc:19:
/opt/lib/gcc/sparc-sun-solaris2.10/4.7.1/include-fixed/iso/stdlib_iso.h:163:16: 
note: long int std::abs(long int)
/opt/lib/gcc/sparc-sun-solaris2.10/4.7.1/include-fixed/iso/stdlib_iso.h:117:12: 
note: int std::abs(int)
dnspacket.cc:597:126: error: call of overloaded 'abs(uint64_t)' is ambiguous
dnspacket.cc:597:126: note: candidates are:
In file included from /usr/include/stdlib.h:18:0,
                 from 
/opt/lib/gcc/sparc-sun-solaris2.10/4.7.1/../../../../include/c++/4.7.1/cstdlib:66,
                 from 
/opt/lib/gcc/sparc-sun-solaris2.10/4.7.1/../../../../include/c++/4.7.1/bits/stl_algo.h:61,
                 from 
/opt/lib/gcc/sparc-sun-solaris2.10/4.7.1/../../../../include/c++/4.7.1/algorithm:63,
                 from /opt/include/boost-1_38/boost/shared_ptr.hpp:41,
                 from namespaces.hh:5,
                 from utility.hh:74,
                 from dnspacket.cc:19:
/opt/lib/gcc/sparc-sun-solaris2.10/4.7.1/include-fixed/iso/stdlib_iso.h:163:16: 
note: long int std::abs(long int)
/opt/lib/gcc/sparc-sun-solaris2.10/4.7.1/include-fixed/iso/stdlib_iso.h:117:12: 
note: int std::abs(int)

Should this be reported as a bug?                                         
_______________________________________________
Pdns-dev mailing list
Pdns-dev@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-dev

Reply via email to