private struct's destructor causes internal error during compilation
Sharp
sharp1113 at hotmail.com
Mon Mar 12 03:58:22 PDT 2012
Hi all!
Sorry, my english is poor, so the compiler output and the source
code will talk instead of me :)
I have DMD v2.057
<code>
d:\D\dmd2\windows\bin\dmd.exe -c "installer\functions.d"
-of"D:\D\projects\ikonboard\ikonboarD\obj\Debug\functions.obj"
-I"d:\D\dmd2\src\phobos" -I"d:\D\dmd2\src\druntime\import" -gc
-debug -unittest -w -wi
d:\D\dmd2\windows\bin\dmd.exe -c "installer\globals.d"
-of"D:\D\projects\ikonboard\ikonboarD\obj\Debug\globals.obj"
-I"d:\D\dmd2\src\phobos" -I"d:\D\dmd2\src\druntime\import" -gc
-debug -unittest -w -wi
d:\D\dmd2\windows\bin\dmd.exe -c "installer\installer.d"
-of"D:\D\projects\ikonboard\ikonboarD\obj\Debug\installer.obj"
-I"d:\D\dmd2\src\phobos" -I"d:\D\dmd2\src\druntime\import" -gc
-debug -unittest -w -wi
d:\D\dmd2\windows\bin\dmd.exe -c "installer\start.d"
-of"D:\D\projects\ikonboard\ikonboarD\obj\Debug\start.obj"
-I"d:\D\dmd2\src\phobos" -I"d:\D\dmd2\src\druntime\import" -gc
-debug -unittest -w -wi
installer\start.d(251): Warning: statement is not reachable
d:\D\dmd2\windows\bin\dmd.exe -c "utils\db.d"
-of"D:\D\projects\ikonboard\ikonboarD\obj\Debug\db.obj"
-I"d:\D\dmd2\src\phobos" -I"d:\D\dmd2\src\druntime\import" -gc
-debug -unittest -w -wi
Internal error: ..\ztc\cgcs.c 162
Exit code 1
d:\D\dmd2\windows\bin\dmd.exe -c "utils\htmllogger.d"
-of"D:\D\projects\ikonboard\ikonboarD\obj\Debug\htmllogger.obj"
-I"d:\D\dmd2\src\phobos" -I"d:\D\dmd2\src\druntime\import" -gc
-debug -unittest -w -wi
d:\D\dmd2\windows\bin\dmd.exe -c "utils\HtmlPage.d"
-of"D:\D\projects\ikonboard\ikonboarD\obj\Debug\HtmlPage.obj"
-I"d:\D\dmd2\src\phobos" -I"d:\D\dmd2\src\druntime\import" -gc
-debug -unittest -w -wi
d:\D\dmd2\windows\bin\dmd.exe -c "utils\HtmlResponse.d"
-of"D:\D\projects\ikonboard\ikonboarD\obj\Debug\HtmlResponse.obj"
-I"d:\D\dmd2\src\phobos" -I"d:\D\dmd2\src\druntime\import" -gc
-debug -unittest -w -wi
d:\D\dmd2\windows\bin\dmd.exe -c "utils\params.d"
-of"D:\D\projects\ikonboard\ikonboarD\obj\Debug\params.obj"
-I"d:\D\dmd2\src\phobos" -I"d:\D\dmd2\src\druntime\import" -gc
-debug -unittest -w -wi
d:\D\dmd2\windows\bin\dmd.exe -c "utils\script.d"
-of"D:\D\projects\ikonboard\ikonboarD\obj\Debug\script.obj"
-I"d:\D\dmd2\src\phobos" -I"d:\D\dmd2\src\druntime\import" -gc
-debug -unittest -w -wi
d:\D\dmd2\windows\bin\dmd.exe -c "installer\populate.d"
-of"D:\D\projects\ikonboard\ikonboarD\obj\Debug\populate.obj"
-I"d:\D\dmd2\src\phobos" -I"d:\D\dmd2\src\druntime\import" -gc
-debug -unittest -w -wi
</code>
In the db.d, if I remove the PreparedStatement's destructor, it
compiles.
Here's the source code:
http://dl.dropbox.com/u/11700363/ikonBoarD.rar
I hope I could help.
Sharp
More information about the Digitalmars-d-bugs
mailing list