--- Comment #4 from rguenth at gcc dot gnu dot org 2009-01-14 21:46 ---
>From a first look Max should be found during argument-dependent name-lookup.
EDG
confirms this theory. gcc 4.1 accepts this code.
--
rguenth at gcc dot gnu dot org changed:
What|Removed
--- Comment #5 from pinskia at gcc dot gnu dot org 2009-01-14 21:51 ---
Oh yes it only fails inside a template context.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38850
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-01-14 21:53 ---
Related to PR 34870 and 37804.
friend and templates never got along.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38850
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38850
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org