ambiguous ambiguous error...

Alexandre Oliva oliva@dcc.unicamp.br
Fri Dec 18 12:45:00 GMT 1998


On Oct 23, 1998, Lavoie Philippe <lavoie@zeus.genie.uottawa.ca> wrote:

> int f() { ; }  // mistake is here should have been int Phil::f() { ; }

> name.cc:14: call of overloaded `f ()' is ambiguous
> name.cc:9: candidates are: f()
> name.cc:4:                 f()

> I think it would help newbies a lot if this was more explicit, i.e.

> name.cc:9: candidates are: f()
> name.cc:4:                 Phil::f()

Thanks for your report, this is fixed in the latest development snapshot

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list