Package: libcrypto++-dev
Version: 5.6.1-5
Followup-For: Bug #667242

g++ 4.7 seems to have become pickier about the rules for lookup of
unqualified names in base classes.  Minimal test case is

#include <cryptopp/secblock.h>
CryptoPP::SecByteBlock blk;

It's a one line fix; patch is attached.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (501, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libcrypto++-dev depends on:
ii  libcrypto++9  5.6.1-5

libcrypto++-dev recommends no packages.

libcrypto++-dev suggests no packages.

-- no debconf information
--- cryptopp/secblock.h.old	2012-04-06 16:42:02.152284215 -0700
+++ cryptopp/secblock.h	2012-04-06 16:42:12.016371758 -0700
@@ -88,7 +88,7 @@
 
 	pointer allocate(size_type n, const void * = NULL)
 	{
-		CheckSize(n);
+		this->CheckSize(n);
 		if (n == 0)
 			return NULL;
 

Reply via email to