Error: class myClass.myClass() is used as a type

rsk82 rsk82 at live.com
Sun Jan 27 12:24:37 PST 2013


On Sunday, 27 January 2013 at 20:13:05 UTC, Daniel Kozak wrote:
> should be
>
> class myClass {
>    this() {
>
>    }
> }

Thanks, that killed the original error. Now the linker says:

OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
t3.obj(t3)
  Error 42: Symbol Undefined 
_D11myClass_mod7myClass6__ctorMFZC11myClass_mod7myClass
t3.obj(t3)
  Error 42: Symbol Undefined _D11myClass_mod7myClass7__ClassZ
--- errorlevel 2


@Namespace: ok, I will post my new topics there, but I like to 
end with this issue and not create another topic for that.


More information about the Digitalmars-d mailing list