Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 92299 Details for
Bug 124900
[multilib] dev-libs/beecrypt-4.1.2-r1 fails with sys-devel/gcc-4.1.0 and with-march=pentium-m
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix name qualifications in friend declarations
beecrypt-4.1.2-gcc4.patch (text/plain), 1.66 KB, created by
Martin von Gagern
on 2006-07-20 06:11:04 UTC
(
hide
)
Description:
patch to fix name qualifications in friend declarations
Filename:
MIME Type:
Creator:
Martin von Gagern
Created:
2006-07-20 06:11:04 UTC
Size:
1.66 KB
patch
obsolete
>Submitted to http://bugs.gentoo.org/show_bug.cgi?id=124900 > >http://gcc.gnu.org/gcc-4.0/changes.html: > "When declaring a friend class using an unqualified name, > classes outside the innermost non-class scope are not searched" >But the "using" declarations are in the global level scope, >causing the friend declarations to fail, leading to access errors. > >2006-07-20 Martin von Gagern <Martin.vGagern@gmx.net> > >--- beecrypt-4.1.2.orig/c++/security/Security.h 2006-07-20 13:55:05.000000000 +0200 >+++ beecrypt-4.1.2/c++/security/Security.h 2006-07-20 13:58:18.000000000 +0200 >@@ -59,16 +59,16 @@ > { > friend class AlgorithmParameterGenerator; > friend class AlgorithmParameters; >- friend class CertificateFactory; >- friend class CertPathValidator; >- friend class Cipher; >- friend class KeyAgreement; >+ friend class ::CertificateFactory; >+ friend class ::CertPathValidator; >+ friend class ::Cipher; >+ friend class ::KeyAgreement; > friend class KeyFactory; > friend class KeyPairGenerator; > friend class KeyStore; >- friend class Mac; >+ friend class ::Mac; > friend class MessageDigest; >- friend class SecretKeyFactory; >+ friend class ::SecretKeyFactory; > friend class SecureRandom; > friend class Signature; > >--- beecrypt-4.1.2.orig/c++/beeyond/BeeCertificate.h 2006-07-20 14:57:48.000000000 +0200 >+++ beecrypt-4.1.2/c++/beeyond/BeeCertificate.h 2006-07-20 14:58:08.000000000 +0200 >@@ -61,7 +61,7 @@ > */ > class BEECRYPTCXXAPI BeeCertificate : public beecrypt::security::cert::Certificate, public beecrypt::lang::Cloneable > { >- friend class BeeCertificateFactory; >+ friend class ::BeeCertificateFactory; > > public: > static const Date FOREVER;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 124900
:
81261
|
82300
|
82561
|
82703
|
82704
|
89070
|
89071
|
89072
|
89073
| 92299