hello, i try to compile dserver.d but i got this error :

C:\D\dmd2\samples\d>dmd dserver.d
dserver.d(244): Deprecation: instead of C-style syntax, use D-style syntax 'char[128] szID' dserver.d(245): Deprecation: instead of C-style syntax, use D-style syntax 'char[128] szCLSID' dserver.d(246): Deprecation: instead of C-style syntax, use D-style syntax 'char[512] szModule' dserver.d(287): Deprecation: instead of C-style syntax, use D-style syntax 'char[128] szID' dserver.d(288): Deprecation: instead of C-style syntax, use D-style syntax 'char[128] szCLSID' dserver.d(289): Deprecation: instead of C-style syntax, use D-style syntax 'char[256] szTemp' dserver.d(348): Deprecation: instead of C-style syntax, use D-style syntax 'char[256] szKey'
OPTLINK (R) for Win32  Release 8.00.17
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
dserver.obj(dserver)
 Error 42: Symbol Undefined _D6chello6CHello7__ClassZ
dserver.obj(dserver)
Error 42: Symbol Undefined __D6chello6CHello6__ctorMWC4core3sys7windows6unknwn8IUnknownPFZvZC6chello6CHello@8
Error: linker exited with status 141717192

C:\D\dmd2\samples\d>dmd dserver.d -D
dserver.d(244): Deprecation: instead of C-style syntax, use D-style syntax 'char[128] szID' dserver.d(245): Deprecation: instead of C-style syntax, use D-style syntax 'char[128] szCLSID' dserver.d(246): Deprecation: instead of C-style syntax, use D-style syntax 'char[512] szModule' dserver.d(287): Deprecation: instead of C-style syntax, use D-style syntax 'char[128] szID' dserver.d(288): Deprecation: instead of C-style syntax, use D-style syntax 'char[128] szCLSID' dserver.d(289): Deprecation: instead of C-style syntax, use D-style syntax 'char[256] szTemp' dserver.d(348): Deprecation: instead of C-style syntax, use D-style syntax 'char[256] szKey'
OPTLINK (R) for Win32  Release 8.00.17
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
dserver.obj(dserver)
 Error 42: Symbol Undefined _D6chello6CHello7__ClassZ
dserver.obj(dserver)
Error 42: Symbol Undefined __D6chello6CHello6__ctorMWC4core3sys7windows6unknwn8IUnknownPFZvZC6chello6CHello@8
Error: linker exited with status 150912056

From a french noob
  • [bug] error compiling dserver.d... Yohan SEROT via Digitalmars-d-debugger

Reply via email to