Thread overview
[help] module abc is in multiply defined
Mar 29, 2004
Ant
Mar 29, 2004
Derek Parnell
Mar 29, 2004
Ant
March 29, 2004
compiler message:

ddi/Bitmap.d(21): module Types is in multiply defined

what does that mean?
How do I look for it?

Ant

March 29, 2004
On Sun, 28 Mar 2004 23:48:11 -0500 (29/Mar/04 02:48:11 PM)
, Ant <duitoolkit@yahoo.ca> wrote:

> compiler message:
>
> ddi/Bitmap.d(21): module Types is in multiply defined
>
> what does that mean?
> How do I look for it?

DMD has found more than one module called 'Types' in the files it was compiling. This could be that two files have the statement 'module Types;' in them, and/or a file called Types.d was processed, and/or a file has two or more module statements.

Anyhow, that is the message I get when I make one of the above mistakes. There maybe more reasons that these though.

-- 
Derek
March 29, 2004
On Mon, 29 Mar 2004 15:39:59 +1000, Derek Parnell wrote:

> On Sun, 28 Mar 2004 23:48:11 -0500 (29/Mar/04 02:48:11 PM)
> , Ant <duitoolkit@yahoo.ca> wrote:
> 
>> compiler message:
>>
>> ddi/Bitmap.d(21): module Types is in multiply defined
>>
>> what does that mean?
>> How do I look for it?
> 
> DMD has found more than one module called 'Types' in the files it was compiling. This could be that two files have the statement 'module Types;' in them, and/or a file called Types.d was processed, and/or a file has two or more module statements.
> 
> Anyhow, that is the message I get when I make one of the above mistakes. There maybe more reasons that these though.

that should be easy to grep out, let me try...

ah!.... def.Types doesn't have a module declaration.
CC? (compiler confused?)

thanks.

Ant