DMD 1.007 release
Walter Bright
newshound at digitalmars.com
Wed Feb 21 11:20:23 PST 2007
torhu wrote:
> I get errors like this with DWT. They go away when I add -v1 to the
> command line. I didn't see this in the changelog, but I guess it's the
> disallowing implicit conversion from objects to void* that was discussed.
>
> dwt\accessibility\accessible.d(507): Error: cannot implicitly convert
> expression (cast(IUnknown)(this.objIAccessible)) of type
> std.c.windows.com.IUnknown to void*
>
> C:\prog\dmd\import\dwt\ole\win32\oleclientsite.d(544): Error: cannot
> implicitly convert expression (cast(IAdviseSink)(this.iAdviseSink)) of
> type dwt.internal.oe.win32.OBJIDL.IAdviseSink to void*
Compiling with -v1 or putting in a cast(void*) should resolve the problem.
More information about the Digitalmars-d-announce
mailing list