digitalmars.D.bugs - private struct's destructor causes internal error during compilation
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
Mar 12 2012
On Monday, 12 March 2012 at 10:58:25 UTC, Sharp wrote: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 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. SharpYou should post this on the bugtracker, this list just gets automatically populated from the bugtracker and isn't meant to be posted on. http://d.puremagic.com/issues/enter_bug.cgi?product=D
Mar 12 2012