http://d.puremagic.com/issues/show_bug.cgi?id=2500
[EMAIL PROTECTED] changed:
What |Removed |Added
----------------------------------------------------------------------------
OS/Version|Windows |All
------- Comment #2 from [EMAIL PROTECTED] 2008-12-09 08:30 -------
Confirmed on Linux as well.
Note that the following commands work ok:
dmd A.d B.d C.d
or
dmd -c A.d B.d C.d
dmd A.o B.o C.o
It seems that in the first (without -c), the symbol is defined in A.o
In the second case, now B.o has the symbol defined, whereas if you compile B.d
separate, it is not defined. There is definitely a bug if compiling the files
into objects separately generates different code than compiling them in to
objects in one line.
--