March 10, 2013 Link error, do dmd have a switch to emit eagerly templated code 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. |
Copyright © 1999-2021 by the D Language Foundation