Error 42: Symbol Undefined __tls_array

BLS windevguy at hotmail.de
Fri Jun 4 17:34:10 PDT 2010


On 03/06/2010 21:36, Robert wrote:
> What are these undefined symbols? I don't use any __tls_array stuff or
> so. I have a "char[]" array in may code but nothing more. And I import
> core.runtime as I compile a DLL.
>
> OPTLINK (R) for Win32 Release 8.00.2
> Copyright (C) Digital Mars 1989-2009 All rights reserved.
> http://www.digitalmars.com/ctg/optlink.html
> ext-test.obj(ext-test)
> Error 42: Symbol Undefined __tls_array
> ext-test.obj(ext-test)
> Error 42: Symbol Undefined __tls_index
> --- errorlevel 2
>

to be honest with you, this is just a guess...
what about :
__gshared char[] x;

bjoern
http://www.digitalmars.com/d/2.0/migrate-to-shared.html#__gshared



More information about the Digitalmars-d mailing list