Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #898 (closed defect: duplicate)

Opened 7 months ago

Last modified 7 months ago

Tango trunk doesn't build with DMD 1.026 -- ZipArchive / scope / interface issues

Reported by: baxissimo Assigned to: sean
Priority: major Milestone: 0.99.5
Component: Core Functionality Version: 0.99.4 Frank
Keywords: Cc:

Description (Last modified by baxissimo)

Here are the errors using 'dsss build':

tango\io\vfs\ZipArchive.d(168): variable tango.io.vfs.ZipArchive.Entry.openOutput.zi interface InputStream cannot be scope
tango\io\vfs\ZipArchive.d(663): variable tango.io.vfs.ZipArchive.ZipFolder.file.dir_ent interface VfsFolderEntry cannot be scope
tango\io\vfs\ZipArchive.d(664): variable tango.io.vfs.ZipArchive.ZipFolder.file.dir_obj interface VfsFolder cannot be scope
tango\io\vfs\ZipArchive.d(1473): function tango.io.vfs.ZipArchive.ZipFolderGroup.catalog (char[]) does not match parameter types (int delegate(VfsFilterInfo * info))
tango\io\vfs\ZipArchive.d(1474): Error: cannot implicitly convert expression (__dgliteral1) of type int delegate(VfsFilterInfo * info) to bool delegate(VfsFilterInfo *)
tango\io\archive\Zip.d(1425): variable tango.io.archive.Zip.ZipEntry.verify.s interface InputStream cannot be scope
Command f:\usr\pkg\d\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.

Maybe not Tango's fault, but I didn't see it logged yet.

Change History

02/13/08 04:23:18 changed by baxissimo

  • description changed.

02/13/08 04:47:12 changed by larsivi

  • status changed from new to closed.
  • resolution set to duplicate.

Duplicate of #811

02/13/08 05:53:58 changed by larsivi

  • milestone changed from 0.99.6 to 0.99.5.

02/14/08 07:53:50 changed by baxissimo

I don't think this is really the same bug, though this bug is mentioned in that report. This is a bug that pops up during compilation, that appears to be a bug about a run-time error.

02/14/08 08:06:06 changed by larsivi

It is the same bug; the error message produced by DMD 1.026 was introduced as a "fix" to the runtime error produced by 1.023.