rtInfo issue
Benjamin Thaut
code at benjamin-thaut.de
Sun Dec 9 12:28:20 PST 2012
Am 09.12.2012 21:22, schrieb Walter Bright:>
>
> Template instances are written to COMDAT sections, which are stripped
> out if they are not referenced.
>
But why does adding a void* pointer make a difference then? By adding a
void* pointer to the struct it will still not be referenced
Before (broken):
struct Pod { float x; }
After (working):
struct Pod { float x; void* ptr; }
Kind Regards
Benjamin Thaut
More information about the Digitalmars-d
mailing list