www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - uuid.lib is broken in new DMC 8.46

The following code:


import std.stdio;
import std.c.windows.com;
int main()
{
    writefln("IID_IDataObject=%s,%s,%s,%s",IID_IDataObject.Data1,IID_IDataObject.Data2,IID_IDataObject.Data3,IID_IDataObject.Data4);
    return 0;
}


compiled it with different DMC / DMD versions:


 dmc

 dmd

 dmd test uuid.lib
 test

 dmc

 dmd

 dmd test uuid.lib

 dmc

(but I know it's DMC version 8.46)
 dmd

 dmd test uuid.lib

you will notice IID_IDataObject in DMC 8.46 is incorrect. This took me a couple hours to track down; I thought it was my drag/drop code at first.
Jan 20 2006