assume, assert, enforce, @safe

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 1 06:20:02 PDT 2014


"Johannes Pfau"  wrote in message news:lrfqqt$1jem$1 at digitalmars.com...

> Which symbols are
> actually used in the final executable is up to the linker and not
> standardized.

Isn't it?  dmd will set it up so the definitions in the library will only 
get pulled in if undefined, and this will usually mean any definitions in 
the main object files will override the library ones.  It should work this 
way on all platforms.

Of course, definitions in different object files will be subject to comdat 
folding and that is not standardized. 



More information about the Digitalmars-d mailing list