tags 564971 patch user ubuntu-de...@lists.ubuntu.com usertags 564971 ubuntu-patch oneiric thanks
On Wed, Jan 13, 2010 at 01:04:00AM +0000, Matthias Klose wrote: > The package fails to build in a test rebuild on at least amd64 with > gcc-4.5/g++-4.5, but succeeds to build with gcc-4.4/g++-4.4. > For the compiler version used, see: > http://lists.debian.org/debian-devel/2010/01/msg00230.html [...] > scancache.cxx: In constructor 'clamfs::ScanCache::ScanCache(long int, long > int)': > scancache.cxx:40:56: error: expected template-name before '<' token Here's a patch. I think G++ 4.5 is a bit more picky about how templated constructors are named. * Fix ExpireLRUCache constructor naming (LP: #749048). --- clamfs-1.0.1.orig/src/scancache.cxx +++ clamfs-1.0.1/src/scancache.cxx @@ -37,7 +37,7 @@ } ScanCache::ScanCache(long int elements, long int expire): - ExpireLRUCache<ino_t, CachedResult>::ExpireLRUCache<ino_t, CachedResult>(elements, expire) { + ExpireLRUCache<ino_t, CachedResult>::ExpireLRUCache(elements, expire) { } ScanCache::~ScanCache() { Thanks, -- Colin Watson [cjwat...@ubuntu.com] -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org