[dmd-beta] dmd 1.071 and 2.056 beta

Walter Bright walter at digitalmars.com
Sun Oct 23 11:30:29 PDT 2011



On 10/23/2011 10:54 AM, David Simcha wrote:
> Was there some change made to error checking for virtual 
> functions/interfaces?  I just tried to compile gtkD with the beta and I got 
> the error message "Ambiguous Virtual Function Call".  IDK if gtkD was relying 
> on a DMD bug that was fixed or if this is a regression in DMD.  What does this 
> error message mean?
>

It happens when the compiler is attempting to fill in the virtual table entries 
for an interface. More than one function in a class's implementation of an 
interface matches the type of the interface function.


More information about the dmd-beta mailing list