Re: module convicts with package

2017-07-19 Thread Nicholas Wilson via Digitalmars-d-learn

On Thursday, 20 July 2017 at 04:38:40 UTC, Adam D. Ruppe wrote:
On Thursday, 20 July 2017 at 04:33:55 UTC, Nicholas Wilson 
wrote:
Error: module dcompute.driver.ocl120 from file 
source/dcompute/driver/ocl120/packge.d conflicts with package



Is that a copy/paste error or did you actually misspell the 
file name "packge.d" instead of "package.d"?


It was, thanks. I knew it was going to be smth stupid.


Re: module convicts with package

2017-07-19 Thread Adam D. Ruppe via Digitalmars-d-learn

On Thursday, 20 July 2017 at 04:33:55 UTC, Nicholas Wilson wrote:
Error: module dcompute.driver.ocl120 from file 
source/dcompute/driver/ocl120/packge.d conflicts with package



Is that a copy/paste error or did you actually misspell the file 
name "packge.d" instead of "package.d"?


module convicts with package

2017-07-19 Thread Nicholas Wilson via Digitalmars-d-learn

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?