public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/6974: g++ 3.1 accesses private typedef of base class
@ 2002-06-09 3:34 lerdsuwa
0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2002-06-09 3:34 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, lerdsuwa, nobody, peter.klotz
Synopsis: g++ 3.1 accesses private typedef of base class
Responsible-Changed-From-To: unassigned->lerdsuwa
Responsible-Changed-By: lerdsuwa
Responsible-Changed-When: Sun Jun 9 03:34:46 2002
Responsible-Changed-Why:
Patch already submitted (same bug as PR4802, PR5387).
State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Sun Jun 9 03:34:46 2002
State-Changed-Why:
Confirmed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6974
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/6974: g++ 3.1 accesses private typedef of base class
@ 2002-07-17 7:26 lerdsuwa
0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2002-07-17 7:26 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, lerdsuwa, peter.klotz
Synopsis: g++ 3.1 accesses private typedef of base class
State-Changed-From-To: analyzed->closed
State-Changed-By: lerdsuwa
State-Changed-When: Wed Jul 17 07:25:59 2002
State-Changed-Why:
Fixed in the main trunk (future GCC 3.3).
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6974
^ permalink raw reply [flat|nested] 3+ messages in thread
* c++/6974: g++ 3.1 accesses private typedef of base class
@ 2002-06-08 23:36 peter.klotz
0 siblings, 0 replies; 3+ messages in thread
From: peter.klotz @ 2002-06-08 23:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 6974
>Category: c++
>Synopsis: g++ 3.1 accesses private typedef of base class
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: accepts-illegal
>Submitter-Id: net
>Arrival-Date: Sat Jun 08 23:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: peter.klotz@aon.at
>Release: unknown-1.0
>Organization:
>Environment:
Red Hat Linux 7.3 with gcc 3.1-1 packages from Red Hat
>Description:
The compiler processes the attached code without error although the typedef in class Base is private and therefore inaccessible from class Derived.
The code should not compile.
>How-To-Repeat:
g++ -W -Wall private_typdef.cpp -o private_typedef
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="private_typedef.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="private_typedef.cpp"
I2luY2x1ZGUgPGxpc3Q+CiNpbmNsdWRlIDxzdHJpbmc+Cgp0ZW1wbGF0ZTx0eXBlbmFtZSBUPgpj
bGFzcyBCYXNlCnsKcHJpdmF0ZToKICAgIHR5cGVkZWYgVCBUVDsKfTsKCnRlbXBsYXRlPHR5cGVu
YW1lIFQ+CmNsYXNzIERlcml2ZWQgOiBwdWJsaWMgQmFzZTxUPgp7CnByb3RlY3RlZDoKICAgIHR5
cGVkZWYgdHlwZW5hbWUgQmFzZTxUPjo6VFQgVFQ7IC8vIHR5cGVkZWYgVFQgaW4gY2xhc3MgQmFz
ZSBpcyBwcml2YXRlIQpwdWJsaWM6CiAgICB2b2lkIGYoKQogICAgewogICAgICAgIHN0ZDo6bGlz
dDxUVD4gbDsKICAgIH0KfTsKCmludCBtYWluKHZvaWQpCnsKICAgIERlcml2ZWQ8c3RkOjpzdHJp
bmc+KCkuZigpOwogICAgcmV0dXJuIDA7Cn0KCgo=
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-17 14:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-09 3:34 c++/6974: g++ 3.1 accesses private typedef of base class lerdsuwa
-- strict thread matches above, loose matches on Subject: below --
2002-07-17 7:26 lerdsuwa
2002-06-08 23:36 peter.klotz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).