Bug#564858: apt: ftbfs with gcc-4.5
Package: apt
Version: 0.7.25
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-4.5
for the compiler version used, see:
http://lists.debian.org/debian-devel/2010/01/msg00230.html
full build log:
http://people.debian.org/~lucas/logs/2010/01/08b/apt_0.7.25_lsid64b.buildlog
the reason of the build failure is likely in the package, if this turns out as a
gcc bug, please reassign to the gcc-4.5 package.
Compiling pkgcache.cc to ../build/obj/apt-pkg/pkgcache.opic
pkgcache.cc: In member function 'const char*
pkgCache::PkgIterator::CandVersion() const':
pkgcache.cc:301:51: error: cannot call constructor 'pkgPolicy::pkgPolicy' directly
pkgcache.cc:301:51: note: for a function-style cast, remove the redundant
'::pkgPolicy'
make[2]: *** [../build/obj/apt-pkg/pkgcache.opic] Error 1
make[2]: Leaving directory `/build/user-apt_0.7.25-amd64-qxio4d/apt-0.7.25/apt-pkg'
make[1]: *** [binary] Error 2
make: *** [build/build-stamp] Error 2
Reply to: