Bug report

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Sun Oct 31 23:03:00 GMT 1999


> Here is another bug. This time, everything works well, but shouldn't
> (with the explicit keyword):

Thanks for your bug report. gcc-2.95.2 still has this bug; the
mainline compiler says

a.cc: In function `int main (...)':
a.cc:18: could not convert `a' to `const B &'
a.cc:12: in passing argument 1 of `func (const B &)'

so it seems the bug has been fixed.

Regards,
Martin



More information about the Gcc-bugs mailing list