Can't compile with 2 packages with the same name (in different modules)

Unknown W. Brackets unknown at simplemachines.org
Fri Mar 28 17:51:40 PDT 2008


I always wonder why this isn't the default.... sure cluttering dirs up 
with object files is bad but I'd rather have it be the default than make 
people confused....

-[Unknown]


Milke Wey wrote:
> On Fri, 2008-03-28 at 03:21 -0400, Alexandr wrote:
>> Hello to all!
>> like wrote in subj i can't do this =)
>> here it is code:
>> http://paste.dprogramming.com/dpi75yap
>>
>> i need compiling (not rebuild, dsss, etc)
>>
>> thanks for your help!
> 
> You can try the -op switch:
> 
> dmd main.d module1/myclass.d module2/myclass.d -op
> 
> it should put the object files in the same directory as the source files. so the first myclass.o doesn't get overridden by the second one.
> 


More information about the Digitalmars-d-learn mailing list