Re: deh_beg and deh_end linker error

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

deh_beg and deh_end linker error

2014-01-09 Thread tivadj
Hi all, Well, the original post was long time ago, but I have a similar problem now. I am linking static D library into C++ executable and getting linker errors Phobos64.lib(sections_win64_4f1_4e2.obj) : error LNK2019 : unresolved external symbol _deh_beg referenced in function _D2rt14secti