I don't remember the exact syntax for GDC, but it should be pretty similar to DMD

You need to pass the module to the compiler

    gdc main.d dcollect.d

Reply via email to