[Issue 12614] New: D Interface Files: package.di does not work
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Apr 22 09:02:24 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12614
Issue ID: 12614
Summary: D Interface Files: package.di does not work
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: minor
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: andre at s-e-a-p.de
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
--
More information about the Digitalmars-d-bugs
mailing list