Thread overview | ||||||
---|---|---|---|---|---|---|
|
September 22, 2004 TypeInfo init symbol not found in 102 | ||||
---|---|---|---|---|
| ||||
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 Re: TypeInfo init symbol not found in 102 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle | Linux works fine. Bastiaan. |
September 22, 2004 Re: TypeInfo init symbol not found in 102 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle | Interesting - I can't reproduce this on my other win32 box. I probably have a path problem on that other one. |
September 24, 2004 Re: TypeInfo init symbol not found in 102 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle | 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 > > |
Copyright © 1999-2021 by the D Language Foundation