Command Line Order + Linker Errors

David Nadlinger see at klickverbot.at
Mon Oct 29 14:08:51 PDT 2012


On Monday, 29 October 2012 at 20:56:02 UTC, dsimcha wrote:
> My real question, though, is why should the order of these 
> files on the command line matter and does this suggest a 
> compiler or linker bug?

What exactly are the errors you are getting? My first guess would 
be templates (maybe the precise GC RTInfo ones?) – determining 
which template instances to emit into what object files is 
non-trivial, and DMD is currently known to contain a few related 
bugs. The fact that the problem also appears when compiling all 
source files at once is somewhat special, though.

David


More information about the Digitalmars-d mailing list