digitalmars.D - Error 42: Symbol Undefined _D18TypeInfo_AC6Object6__initZ
- "Chris Miller" <chris dprogramming.com> Jan 30 2007
- Frits van Bommel <fvbommel REMwOVExCAPSs.nl> Jan 30 2007
- torhu <fake address.dude> Jan 31 2007
I'm running into this linker error
Error 42: Symbol Undefined _D18TypeInfo_AC6Object6__initZ
with the recent DMD versions (1.004 right now), and I don't really know
what's going on. I don't get this error with older DMD`s.
Anyone have any ideas?
The strange part is the error goes away when using -release
I guess the Z on the end means it's related to template?
Jan 30 2007
Chris Miller wrote:I'm running into this linker error Error 42: Symbol Undefined _D18TypeInfo_AC6Object6__initZ with the recent DMD versions (1.004 right now), and I don't really know what's going on. I don't get this error with older DMD`s. Anyone have any ideas? The strange part is the error goes away when using -release I guess the Z on the end means it's related to template?
No, it doesn't have anything to do with templates. It's the TypeInfo instance for Object[], aka typeid(Object[]). It /should/ be generated when needed... Do you have some (preferably short) example code that shows this error?
Jan 30 2007
I get this when trying to compile a DWT app with dmd 1.004. Works fine with dmd 1.0 and older. It also happened with one of the dwt examples, think it was test_rowlayout.d. Error 42: Symbol Undefined _D44TypeInfo_AC3dwt8graphics9rectangle9Rectangle6__initZ Looks similar to what Chris got, since it's a missing TypeInfo object.
Jan 31 2007








torhu <fake address.dude>