digitalmars.D - Link error, do dmd have a switch to emit eagerly templated code in .o
- deadalnix (7/7) Mar 10 2013 Templates code often fail to link because it isn't emitted in .o
Templates code often fail to link because it isn't emitted in .o files. GDC propose a dirty fix to solve this : -femit-templates . Templates are emitted as private symbol 100% of the time. Can the same be done with dmd ? Not being able to link valid code is pretty bad IMO, and I'd use any solution, even a one with major drawback.
Mar 10 2013