[Bug c++/34870] argument-dependent lookup wrongly finds friend declaration

2009-05-17 Thread schaub-johannes at web dot de
--- Comment #10 from schaub-johannes at web dot de 2009-05-17 16:38 --- A added another bug-report very similar to this that handles the case where the friend definition is about a template: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40177 . GCC accepts in that case, while it should rej

[Bug c++/34870] argument-dependent lookup wrongly finds friend declaration

2009-03-27 Thread jason at gcc dot gnu dot org
--- Comment #9 from jason at gcc dot gnu dot org 2009-03-27 18:34 --- You're right, a template-id does still get argument-dependent lookup. -- jason at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/34870] argument-dependent lookup wrongly finds friend declaration

2009-01-16 Thread dragan at plusplus dot co dot yu
--- Comment #8 from dragan at plusplus dot co dot yu 2009-01-16 21:22 --- Created an attachment (id=17123) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17123&action=view) another test case I disagree... here is another test case. Semantically, it is the same as the first one, so

[Bug c++/34870] argument-dependent lookup wrongly finds friend declaration

2009-01-15 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2009-01-16 04:54 --- Actually, this is still an accepts-invalid bug when weird is uncommented. -- jason at gcc dot gnu dot org changed: What|Removed |Added ---