No -c no main()

Piotr Sietnik psi at pk.mofnet.gov.pl
Thu Mar 19 01:39:19 PDT 2009


Steve Teale wrote:

> 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()
           ^^^

-- 
Piotr Sietnik




More information about the Digitalmars-d mailing list