module convicts with package

Nicholas Wilson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 19 21:33:55 PDT 2017


Im probably missing something really obvious but

Error: module dcompute.driver.ocl120 from file 
source/dcompute/driver/ocl120/packge.d conflicts with package 
name ocl120

the package.d file in question

```
module dcompute.driver.ocl120;

public import dcompute.driver.error;

public import dcompute.driver.ocl120.buffer;
public import dcompute.driver.ocl120.context;
public import dcompute.driver.ocl120.device;
public import dcompute.driver.ocl120.event;
public import dcompute.driver.ocl120.image;
public import dcompute.driver.ocl120.kernel;
public import dcompute.driver.ocl120.memory;
public import dcompute.driver.ocl120.platform;
public import dcompute.driver.ocl120.program;
public import dcompute.driver.ocl120.queue;
public import dcompute.driver.ocl120.raw;
public import dcompute.driver.ocl120.sampler;
public import dcompute.driver.ocl120.util;
```

raw has a package.d
```
module dcompute.driver.ocl120.raw;

public import dcompute.driver.ocl.raw120.types;
public import dcompute.driver.ocl.raw120.functions;
public import dcompute.driver.ocl.raw120.enums;
public import derelict.opencl.cl;
```

any suggestions?



More information about the Digitalmars-d-learn mailing list