deh_beg and deh_end linker error

Jacob Carlborg doob at me.com
Fri Jan 10 04:11:02 PST 2014


On 2014-01-10 12:21, tivadj wrote:
> To resolve the problem (unresolved _deh_beg/_deh_end when linking), put
> the 'main' declaration into the D library. As below
>
> void main(string[])
> {
> }

You don't need any arguments for the "main" function if you don't need 
them. It's enough with:

void main () { }

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list