Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
March 14, 2006 Link error 42: scal_del_dtor(unsigned ) | ||||
---|---|---|---|---|
| ||||
Hi, Does anyone know how to "fix" this link error? Error 42: Symbol Undefined ??_Gmy_type@nspc@@QAEPAXI@Z (void *syscall nspc::my_type::scal_del_dtor(unsigned )) My C++ code compiles and links with several releases of GCC as well as MSVC++ 6 and 2005. It is difficult to produce a testcase because it is a multi-file compile and link and the error has disappeared in my different tries to reduce the size... Best regards, Gilles |
March 18, 2006 Re: Link error 42: scal_del_dtor(unsigned ) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gilles Depeyrot | You could try doing a grep across the obj files and seeing which one is referring to it. "Gilles Depeyrot" <gsd@dolphin.fr> wrote in message news:dv6amk$2rhe$1@digitaldaemon.com... > Does anyone know how to "fix" this link error? > > Error 42: Symbol Undefined ??_Gmy_type@nspc@@QAEPAXI@Z (void *syscall nspc::my_type::scal_del_dtor(unsigned )) > > My C++ code compiles and links with several releases of GCC as well as MSVC++ 6 and 2005. > > It is difficult to produce a testcase because it is a multi-file compile and link and the error has disappeared in my different tries to reduce the size... > > Best regards, > Gilles |
March 22, 2006 Re: Link error 42: scal_del_dtor(unsigned ) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Hi,
I know which object file refers to this symbol. I even know which lines cause the call to this implicit symbol: both are deletes of a template class. However, the template class is used elsewhere without causing this link error for the implicit scal_del_dtor method...
Best regards,
Gilles
Walter Bright wrote:
> You could try doing a grep across the obj files and seeing which one is referring to it.
>
> "Gilles Depeyrot" <gsd@dolphin.fr> wrote in message news:dv6amk$2rhe$1@digitaldaemon.com...
>> Does anyone know how to "fix" this link error?
>>
>> Error 42: Symbol Undefined ??_Gmy_type@nspc@@QAEPAXI@Z (void *syscall nspc::my_type::scal_del_dtor(unsigned ))
>>
>> My C++ code compiles and links with several releases of GCC as well as MSVC++ 6 and 2005.
>>
>> It is difficult to produce a testcase because it is a multi-file compile and link and the error has disappeared in my different tries to reduce the size...
|
March 25, 2006 Re: Link error 42: scal_del_dtor(unsigned ) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gilles Depeyrot | "Gilles Depeyrot" <gsd@dolphin.fr> wrote in message news:dvrrtl$10it$1@digitaldaemon.com... > Hi, > > I know which object file refers to this symbol. I even know which lines cause the call to this implicit symbol: both are deletes of a template class. However, the template class is used elsewhere without causing this link error for the implicit scal_del_dtor method... Ok, but it will help a lot if you can send me a minimal test case that duplicates the problem. |
May 09, 2006 Re: Link error 42: scal_del_dtor(unsigned ) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Hi,
It seems like the latest beta has fixed this issue.
Best regards,
Gilles
Walter Bright wrote:
> "Gilles Depeyrot" <gsd@dolphin.fr> wrote in message news:dvrrtl$10it$1@digitaldaemon.com...
>> Hi,
>>
>> I know which object file refers to this symbol. I even know which lines cause the call to this implicit symbol: both are deletes of a template class. However, the template class is used elsewhere without causing this link error for the implicit scal_del_dtor method...
>
> Ok, but it will help a lot if you can send me a minimal test case that duplicates the problem.
|
Copyright © 1999-2021 by the D Language Foundation