[Bug c++/34886] Strangeness of name lookup in template function

2009-12-08 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-12-08 22:02 --- > void* is a pointer to fundamental type so has no associated namespaces Well there is a still open defect report that says this might not be true :). *** This bug has been marked as a duplicate of 29131 *** --

[Bug c++/34886] Strangeness of name lookup in template function

2009-12-08 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2009-12-08 22:01 --- Actually -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|RE

[Bug c++/34886] Strangeness of name lookup in template function

2009-12-08 Thread redi at gcc dot gnu dot org
--- Comment #4 from redi at gcc dot gnu dot org 2009-12-08 21:58 --- In resolving dependent names, names from the following sources are considered: — Declarations that are visible at the point of definition of the template. — Declarations from namespaces associated with the types of the f

[Bug c++/34886] Strangeness of name lookup in template function

2008-01-21 Thread rvovsd at mail dot ru
--- Comment #3 from rvovsd at mail dot ru 2008-01-21 14:43 --- This case is similar to the bug 31047 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31047). There Andrew Pinski wrote (comment 4): >14.6.4.2/1 says this is invalid code. >For a function call that depends on a template paramet

[Bug c++/34886] Strangeness of name lookup in template function

2008-01-20 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-01-20 22:30 --- *** Bug 34893 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34886

[Bug c++/34886] Strangeness of name lookup in template function

2008-01-20 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-01-20 21:55 --- GCC is correct here. Well partly. It should reject it no matter what. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34886