Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 157164 - can't declare class as a friend
Summary: can't declare class as a friend
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-05-07 22:48 UTC by David Juran
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-05-14 11:01:01 UTC

Attachments (Terms of Use)

Description David Juran 2005-05-07 22:48:13 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050416 Fedora/1.0.3-1.3.1 Firefox/1.0.3

Description of problem:
It seems like there is a problem declaring a class as a friend. When I try to rebuild beecrypt, I get the following error message:

CertificateFactory.cxx: In static member function 'static beecrypt::security::cert::CertificateFactory* beecrypt::security: :cert::CertificateFactory::getInstance(const beecrypt::lang::String&)':
../../../beecrypt/c++/security/Security.h:81: error: 'struct beecrypt::security::Security::spi' is private
CertificateFactory.cxx:48: error: within this context

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.rpmbuild --rebuild beecrypt-4.1.2-5.src.rpm

Additional info:

Comment 1 David Juran 2005-05-14 11:01:01 UTC
Looking closer at the code, it seems that the compiler in deed does adhere to
the specification and the code is faulty. Don't mind me, I'll go bother someone

Note You need to log in before you can comment on or make changes to this bug.