www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - trouble making SDWF

reply "Garett Bass" <gtbass studiotekne.com> writes:
When I try to make SDWF, I get some error messages:

    D:\Code\Projects\D\smjg\libs\sdwf>make
     dmd -I..\..\.. -O -c except.d

    dmd -I..\..\.. -O -c windowbase.d
    windowbase.d(1631): class smjg.libs.sdwf.windowbase.WindowClass 
2duplicate union initialization for _registered
    windowbase.d(1631): class smjg.libs.sdwf.windowbase.WindowClass 
2duplicate union initialization for _size
    windowbase.d(1631): class smjg.libs.sdwf.windowbase.WindowClass 
2duplicate union initialization for style
    windowbase.d(1631): class smjg.libs.sdwf.windowbase.WindowClass 
2duplicate union initialization for _windowProc
    windowbase.d(1631): class smjg.libs.sdwf.windowbase.WindowClass 
2duplicate union initialization for _classExtraBytes
    windowbase.d(1631): class smjg.libs.sdwf.windowbase.WindowClass 
2duplicate union initialization for _windowExtraBytes
    windowbase.d(1631): class smjg.libs.sdwf.windowbase.WindowClass 
2duplicate union initialization for _instanceHandle
    windowbase.d(1631): class smjg.libs.sdwf.windowbase.WindowClass 
2duplicate union initialization for _icon
    windowbase.d(1631): class smjg.libs.sdwf.windowbase.WindowClass 
2duplicate union initialization for _cursor
    windowbase.d(1631): class smjg.libs.sdwf.windowbase.WindowClass 
2duplicate union initialization for _background
    windowbase.d(1631): class smjg.libs.sdwf.windowbase.WindowClass 
2duplicate union initialization for _menuName
    windowbase.d(1631): class smjg.libs.sdwf.windowbase.WindowClass 
2duplicate union initialization for _className
    windowbase.d(1631): class smjg.libs.sdwf.windowbase.WindowClass 
2duplicate union initialization for _smallIcon

    --- errorlevel 1

Curiously, windowbase.obj (29KB) was made after all that.  Maybe those were 
just warnings?  Anyway, I tried make again:

    D:\Code\Projects\D\smjg\libs\sdwf>make
    dmd -I..\..\.. -O -c colour.d

    dmd -I..\..\.. -O -c application.d

    dmd -I..\..\.. -O -c clipboarddata.d

    dmd -I..\..\.. -O -c gdiobject.d

    dmd -I..\..\.. -O -c dc.d
    dc.d(241): class smjg.libs.sdwf.except.UnknownAPIException member this 
is not accessible
    dc.d(276): class smjg.libs.sdwf.except.UnknownAPIException member this 
is not accessible
    dc.d(356): class smjg.libs.sdwf.except.UnknownAPIException member this 
is not accessible
    dc.d(370): class smjg.libs.sdwf.except.UnknownAPIException member this 
is not accessible

    --- errorlevel 1

I'm not sure what "member this is not accessible" means.  Any help would be 
greatly appreciated.

Regards,
Garett 
Nov 15 2004
parent reply Stewart Gordon <smjg_1998 yahoo.com> writes:
Garett Bass wrote:
 When I try to make SDWF, I get some error messages:

The first set of errors is due to a bug in DMD 0.106. The second set is due to a bug fix in DMD 0.106. But if you fix the second set of errors, a third set comes up, also due to a bug in DMD 0.106. At the moment, the only way out is to go back to DMD 0.105. See digitalmars.D/12390 digitalmars.D.bugs/2270 Stewart.
Nov 16 2004
parent "Garett Bass" <gtbass studiotekne.com> writes:
Stewart,

    Thanks for the information.

Regards,
Garett

"Stewart Gordon" <smjg_1998 yahoo.com> wrote in message 
news:cndekr$ov8$1 digitaldaemon.com...
 Garett Bass wrote:
 When I try to make SDWF, I get some error messages:

The first set of errors is due to a bug in DMD 0.106. The second set is due to a bug fix in DMD 0.106. But if you fix the second set of errors, a third set comes up, also due to a bug in DMD 0.106. At the moment, the only way out is to go back to DMD 0.105. See digitalmars.D/12390 digitalmars.D.bugs/2270 Stewart.

Nov 17 2004