Help with compile error

Jacob Carlborg doobnet at gmail.com
Mon Oct 6 05:46:53 PDT 2008


I'm trying to compile this file: http://tango.pastebin.com/m3c708004
and I'm getting this error:

Error: this for init needs to be type NSObject not type dwt.graphics.GC.GC

It's quite annoying that I don't get any file or line information.

The other files are available here: 
http://www.dsource.org/projects/dwt-mac/browser/dwt
but they are old.

I'm compiling on osx 10.5.5 with gdc-r229 like this:

gdmd -c -odobjs -I/usr/share/gdc/include/d/4.1.2/tango -version=Posix 
dwt/graphics/GC.d



More information about the Digitalmars-d mailing list