[Bug c++/20724] function overload resolution fails when any template is declared

2013-05-20 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20724 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED CC|gcc-bugs at g

[Bug c++/20724] function overload resolution fails when any template is declared

2006-12-11 Thread s__nakayama at infoseek dot jp
--- Comment #7 from s__nakayama at infoseek dot jp 2006-12-11 19:21 --- Is this still active? gcc 4.1.1 accept Andrew's testcase in comment #1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20724

[Bug c++/20724] function overload resolution fails when any template is declared

2005-07-25 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-07-25 14:25 --- As for the initial testcase (Andrew's testcase in comment #1), - gcc3.3 rejects it with and without the template declaration - icc rejects it with and without the template declaration - gcc3.4 (and late

[Bug c++/20724] function overload resolution fails when any template is declared

2005-07-24 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-07-24 18:21 --- Subject: Re: function overload resolution fails when any template is declared "pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | Both ICC and Comeau accept this. just a note that since I

[Bug c++/20724] function overload resolution fails when any template is declared

2005-07-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-24 18:02 --- Both ICC and Comeau accept this. -- What|Removed |Added Status|REOPENED

[Bug c++/20724] function overload resolution fails when any template is declared

2005-07-24 Thread kjd at duda dot org
--- Additional Comments From kjd at duda dot org 2005-07-24 17:33 --- I will admit I've had difficulty understanding the interaction between scope searching and overload resolution, but I cannot believe gcc is handling this right. Consider the example program: /* 1 */ namespace N {

[Bug c++/20724] function overload resolution fails when any template is declared

2005-07-23 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-07-23 21:27 --- gcc is actually correct. Per the using declaration in main(), you introduce N::foo into the scope of foo(), and when foo(enum1) is called we find the name foo inside namespace N and then stop to search, so ::f

[Bug c++/20724] function overload resolution fails when any template is declared

2005-04-02 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-02 14:27 --- Confirmed (fixed up testcase for -pedantic): namespace N { int foo ( char * ) { return 200; } template< typename T > int foo(); } enum Enum { enum1 }; int foo( Enum const & ) { return 100; } int main()

[Bug c++/20724] function overload resolution fails when any template is declared

2005-04-01 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||rejects-valid http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20724

[Bug c++/20724] function overload resolution fails when any template is declared

2005-04-01 Thread kjd at duda dot org
-- What|Removed |Added CC||kjd at duda dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20724