This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8163: call of template code is rejected as private in this context
- From: lerdsuwa at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, schnoerr at mailzone dot com
- Date: 24 Oct 2002 14:28:49 -0000
- Subject: Re: c++/8163: call of template code is rejected as private in this context
- Reply-to: lerdsuwa at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, schnoerr at mailzone dot com, gcc-gnats at gcc dot gnu dot org
Synopsis: call of template code is rejected as private in this context
State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Thu Oct 24 07:28:48 2002
State-Changed-Why:
Not a bug. From your code, you are calling
"Test<2>::dat_embrace" from "Test<1>::testfkt".
The type access only permit calling
"Test<1>::dat_embrace" from "Test<1>::testfkt".
or
"Test<2>::dat_embrace" from "Test<2>::testfkt".
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8163