Can't compile with 2 packages with the same name (in different	modules)
    Milke Wey 
    no.spam at example.com
       
    Fri Mar 28 11:10:57 PDT 2008
    
    
  
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.
-- 
Mike Wey
    
    
More information about the Digitalmars-d-learn
mailing list