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]

Re: internal compiler error (ambigous type conversion)


> Please check this out.

With the current egcs, this seems to work fine, and reports

a.ii: In function `int main()':
a.ii:16: conversion from `b' to `a' is ambiguous
a.ii:4: candidates are: b::operator a()
a.ii:9:                 a::a(b)


Regards,
Martin


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