c++/3664: Incorrect access control checking on static data members
mark@codesourcery.com
mark@codesourcery.com
Thu Jul 12 10:56:00 GMT 2001
>Number: 3664
>Category: c++
>Synopsis: Incorrect access control checking on static data members
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Thu Jul 12 10:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: mark@codesourcery.com
>Release: 3.0
>Organization:
>Environment:
>Description:
The attached program is valid, but is rejected by
G++, which claims that `R::i' is inaccessible.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="test3.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test3.C"
dGVtcGxhdGUgPGludCBJPgpjbGFzcyBTIHsKfTsKCmNsYXNzIFIgewogIHN0YXRpYyBjb25zdCBp
bnQgaSA9IDM7CnB1YmxpYzogCiAgUzxSOjppPiogZiAoKTsKfTsKClM8Ujo6aT4qIFI6OmYgKCkg
ewogIHJldHVybiAwOwp9Cgo=
More information about the Gcc-prs
mailing list