------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-12 18:42 ------- : Search converges between 2004-11-25-014001-trunk (#656) and 2004-11-25-161001-trunk (#657).
Yes this is valid code. we should have found the global A for the statement "friend struct A;" but instead it adds a class to the namespace Boo which is wrong. I am alomst certain it is caused by one of the "Friend class name lookup" patches. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |lerdsuwa at users dot | |sourceforge dot net Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |rejects-valid Last reconfirmed|0000-00-00 00:00:00 |2005-01-12 18:42:20 date| | Summary|name lookup is broken |[4.0 Regression] name lookup | |is broken with friends Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19403