Error: multiple source files

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Mon May 7 07:52:25 PDT 2007


mandel wrote:
> I use dmd 1.0.12 and get an error I do not understand in this context:
> dmd version=Posix  -ofsub/prog.o -c  sub/prog.d
> Error: multiple source files, but only one .obj name
> 
> What does this mean?
> I found the error message in mars.c, but couldn't figure out it's meaning so far.

In this case, it means you forgot the '-' of -version=Posix ;).

The compiler is probably interpreting "version=Posix" as the name of an 
additional source file to compile.


More information about the Digitalmars-d-learn mailing list