Thread overview | |||||
---|---|---|---|---|---|
|
January 31, 2007 Error 42: Symbol Undefined _D18TypeInfo_AC6Object6__initZ | ||||
---|---|---|---|---|
| ||||
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? |
January 31, 2007 Re: Error 42: Symbol Undefined _D18TypeInfo_AC6Object6__initZ | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chris Miller | 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?
|
January 31, 2007 Re: Error 42: Symbol Undefined _D18TypeInfo_AC6Object6__initZ | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frits van Bommel | 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. |
Copyright © 1999-2021 by the D Language Foundation