Making D Lang More easy.

Matthew Ong ongbp at yahoo.com
Thu May 12 03:52:45 PDT 2011


Hi Walter,

Thanks very much for the person reply to:
http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D&artnum=135959


>Not sure what you mean by more complex than Java. The order of imports >in D is
not important.
If I separated a single module into multiple different file, the compilation
process seems to give me a lot of issue. I read from other
reply and also within the dmd/src directory, D seems to only allow one
file per module. Unlike CPP/Java/C# and others, all the different classes and
interfaces are centralized within a single file. That might give issue to IDE and
other
tool developers to write code generator, refactoring? might be dead wrong.

I tried to upload attachment, but it failed to be shown on the web site.
Hence, I email them over. Just in case that too is lost. Here are the strange(to me)
error.

Sorry that seems to be rude.

BTW, were you involved with turbo C development in dos days in the past. You seems
to be old school.

Matthew Ong

------------------------------------------------------------------------------------
> (4:50:21 PM) Compile D:\JDKs\D\devel\CornerCube\CornerCube\Exceptions.d
> (4:50:21 PM) dmd.exe -c "D:\JDKs\D\devel\CornerCube\CornerCube\Exceptions.d"
-of"D:\JDKs\D\devel\CornerCube\CornerCube\obj\Exceptions.obj"
-I"D:\JDKs\D\dmd2\src\phobos" -I"D:\JDKs\D\dmd2\src\druntime\import" -gc -debug
> (4:50:21 PM) Process ended with code 0
> (4:50:21 PM) Compile D:\JDKs\D\devel\CornerCube\CornerCube\Collections.d
> (4:50:21 PM) dmd.exe -c "D:\JDKs\D\devel\CornerCube\CornerCube\Collections.d"
-of"D:\JDKs\D\devel\CornerCube\CornerCube\obj\Collections.obj"
-I"D:\JDKs\D\dmd2\src\phobos" -I"D:\JDKs\D\dmd2\src\druntime\import" -gc -debug
> (4:50:22 PM) Process ended with code 0
> (4:50:22 PM) Compile D:\JDKs\D\devel\CornerCube\CornerCube\IO.d
> (4:50:22 PM) dmd.exe -c "D:\JDKs\D\devel\CornerCube\CornerCube\IO.d"
-of"D:\JDKs\D\devel\CornerCube\CornerCube\obj\IO.obj"
-I"D:\JDKs\D\dmd2\src\phobos" -I"D:\JDKs\D\dmd2\src\druntime\import" -gc -debug
> (4:50:22 PM) Process ended with code 0
> (4:50:22 PM) Compile D:\JDKs\D\devel\CornerCube\CornerCube\Lang.d
> (4:50:22 PM) dmd.exe -c "D:\JDKs\D\devel\CornerCube\CornerCube\Lang.d"
-of"D:\JDKs\D\devel\CornerCube\CornerCube\obj\Lang.obj"
-I"D:\JDKs\D\dmd2\src\phobos" -I"D:\JDKs\D\dmd2\src\druntime\import" -gc -debug
> (4:50:22 PM) Process ended with code 0
> (4:50:22 PM) Compile D:\JDKs\D\devel\CornerCube\CornerCube\Interfaces.d
> (4:50:22 PM) dmd.exe -c "D:\JDKs\D\devel\CornerCube\CornerCube\Interfaces.d"
-of"D:\JDKs\D\devel\CornerCube\CornerCube\obj\Interfaces.obj"
-I"D:\JDKs\D\dmd2\src\phobos" -I"D:\JDKs\D\dmd2\src\druntime\import" -gc -debug
> (4:50:22 PM) Process ended with code 0
> (4:50:22 PM) Link files to D:\JDKs\D\devel\CornerCube\CornerCube\bin\CornerCube.exe
> (4:50:22 PM) dmd.exe "obj\Exceptions.obj" "obj\Collections.obj" "obj\IO.obj"
"obj\Lang.obj" "obj\Interfaces.obj"
-of"D:\JDKs\D\devel\CornerCube\CornerCube\bin\CornerCube.exe" -gc -debug
> (4:50:23 PM) Process ended with code 31
OPTLINK (R) for Win32  Release 8.00.8
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
OPTLINK : Warning 23: No Stack
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined _D18TypeInfo_Interface6__vtblZ
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined
_D6object9Exception6__ctorMFAyaAyakC6object9ThrowableZC9Exception
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined _D9invariant12_d_invariantFC6ObjectZv
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined _D3std6string6formatFYAya
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined __d_throwc
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined __d_newclass
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined __d_dynamic_cast
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined _D15TypeInfo_Struct6__vtblZ
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined _D14TypeInfo_Tuple6__vtblZ
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined _D3std5stdio12__ModuleInfoZ
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined _D3std6string12__ModuleInfoZ
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined _D10TypeInfo_k6__initZ
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined _D12TypeInfo_Aya6__initZ
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined _D6object6Object8opEqualsMFC6ObjectC6ObjectZb
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined _D6object6Object8opEqualsMFC6ObjectZb
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined _D6object6Object5opCmpMFC6ObjectZi
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined _D6object6Object6toHashMFZk
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined _D6object9Throwable8toStringMFZAya
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined _D14TypeInfo_Class6__vtblZ
obj\Exceptions.obj(Exceptions)
 Error 42: Symbol Undefined _D9Exception7__ClassZ
obj\Collections.obj(Collections)
 Error 42: Symbol Undefined _D6Object7__ClassZ
obj\Collections.obj(Collections)
 Error 42: Symbol Undefined _D6object6Object8toStringMFZAya
obj\IO.obj(IO)
 Error 42: Symbol Undefined __d_array_bounds
obj\IO.obj(IO)
 Error 42: Symbol Undefined __fltused
obj\IO.obj(IO)
 Error 42: Symbol Undefined _D11TypeInfo_Aa6__initZ
obj\IO.obj(IO)
 Error 42: Symbol Undefined __d_arrayliteralT
obj\IO.obj(IO)
 Error 42: Symbol Undefined _D11TypeInfo_Au6__initZ
obj\IO.obj(IO)
 Error 42: Symbol Undefined _D3std6stream12__ModuleInfoZ
obj\IO.obj(IO)
 Error 42: Symbol Undefined _D3std6stream11InputStream11__InterfaceZ
obj\IO.obj(IO)
 Error 42: Symbol Undefined _D3std6stream12OutputStream11__InterfaceZ
obj\Interfaces.obj(Interfaces)
 Error 42: Symbol Undefined _D3std9container12__ModuleInfoZ
OPTLINK : Warning 134: No Start Address
--- errorlevel 31





More information about the Digitalmars-d mailing list