Thread overview
TypeInfo init symbol not found in 102
Sep 22, 2004
Ben Hinkle
Sep 22, 2004
Bastiaan Veelo
Sep 22, 2004
Ben Hinkle
Sep 24, 2004
Ben Hinkle
September 22, 2004
in dmd-102 on win32 (haven't tried linux) the following
int main() {
TypeInfo ti = typeid(int);
return 0;
}
errors with:
main.obj(main)
 Error 42: Symbol Undefined _init_10TypeInfo_i
--- errorlevel 1

Associative arrays work fine so this is just a problem with user code that tries to get a TypeInfo.

-Ben


September 22, 2004
Linux works fine.

Bastiaan.
September 22, 2004
Interesting - I can't reproduce this on my other win32 box. I probably have a path problem on that other one.
September 24, 2004
More info. With dmd-101 it works fine but with 102 it errors. The problem seems to be the symbol name in 102 is _init_10TypeInfo_i and in 101 it is __init_TypeInfo_i (with two leading underscores). I haven't figured out what changed in 102 that could have caused this.

"Ben Hinkle" <bhinkle@mathworks.com> wrote in message news:cis04m$2h9v$1@digitaldaemon.com...
> in dmd-102 on win32 (haven't tried linux) the following
> int main() {
> TypeInfo ti = typeid(int);
> return 0;
> }
> errors with:
> main.obj(main)
>  Error 42: Symbol Undefined _init_10TypeInfo_i
> --- errorlevel 1
>
> Associative arrays work fine so this is just a problem with user code that tries to get a TypeInfo.
>
> -Ben
>
>