This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/17829] [3.4/4.0 Regression] wrong error: call of overloaded function is ambiguous


------- Additional Comments From nathan at gcc dot gnu dot org  2004-10-05 16:05 -------
2004-10-05  Nathan Sidwell  <nathan@codesourcery.com>

        PR c++/17829
        * parser.c (cp_parser_postfix_expression): Inhibit Koenig when
        unqualified lookup finds a member function.

we were doing koenig lookup when we shouldn't have been.  Which is why
changing the arg type from ::Qstring to int made it work -- that
changed the set of associated namespaces from (::) to ().

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17829


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]