[Issue 16440] wrong code with -main -c -of

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Aug 28 08:36:56 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16440

--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> ---
> dmd happily compiles multiple source files to one object file.

Ah I thought this was only a feature of -lib. I forgot about the mix of -c and
-of, otherwise it would indeed be separate object files.

Then this issue is more perplexing. Probably best to see what's in the
assembler output. :p

--


More information about the Digitalmars-d-bugs mailing list