[Bug c++/18681] [3.3/3.4/4.0/4.1 Regression] template friend declaration not recognized

lerdsuwa at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Apr 23 15:28:00 GMT 2005


------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2005-04-23 15:28 -------
The TYPE_NO_ACCESS_CHECK_P is there because we check
access on each tsubst TYPENAME_TYPE, regardless whether
the typename is actually appear in the code or it come from a typedef.
The patch was only intended for 4.0.  For mainline, I am working on
the approach I mention as a stage 2 project.  Still need some more time
to finish it.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18681



More information about the Gcc-bugs mailing list