Error 42: Symbol Undefined _D18TypeInfo_AC6Object6__initZ

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Tue Jan 30 18:00:53 PST 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?



More information about the Digitalmars-d mailing list