Bug 12614 – D Interface Files: package.di does not work

Status
RESOLVED
Resolution
DUPLICATE
Severity
minor
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2014-04-22T16:02:00Z
Last change time
2015-08-01T12:21:04Z
Assigned to
nobody
Creator
andre

Comments

Comment #0 by andre — 2014-04-22T16:02:24Z
file calc.d module lib.calc; class A { public int a; } file package.d module lib; public import lib.calc; file main.d import lib; void main() { A a = new A(); } Compile lib/header files and put them under dir "lib" DMD calc package -H -lib Compiling main file failed unless package.di is renamed to package.d DMD main "-IJ:\Test\lib" J:\Test\lib\calc.lib
Comment #1 by ibuclaw — 2015-08-01T12:21:04Z
Duplicate of #14687 *** This issue has been marked as a duplicate of issue 14687 ***