[GtkD] Error 1: Previous Definition Different : __Dmain

Adrien Tétar" <adri-from-59 at hotmail.fr> Adrien Tétar" <adri-from-59 at hotmail.fr>
Sat Oct 27 13:18:24 PDT 2012


On Saturday, 27 October 2012 at 20:02:16 UTC, Mike Wey wrote:
>
> Did you already check if your code doesn't actually defines 
> main twice?

I don't think so... here's the code:

module primary;

import gtk.Main;

void main(string[] args)
{
	Main.init(args);
	Main.run();
}

Thanks for your help.


More information about the Digitalmars-d mailing list