No -c no main()

Steve Teale steve.teale at britseyeview.com
Thu Mar 19 01:05:29 PDT 2009


Would it be a big deal to make the compiler recognize that there is no -c, but no instance of main() has been found, and say

"Link skipped - no main()"

instead of what you get if you do dmd mian.d on

import std.stdio;

void mian()
{
   writefln("Hello Wolrd");
}




More information about the Digitalmars-d mailing list