|
|
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » thread-local storage not supported for this target
thread-local storage not supported for this target [message #23344] |
Mon, 12 October 2009 16:20  |
jiuzhi
Messages: 10 Registered: October 2009
|
Promising Member |
|
|
I make a new project with template "CtrLib application with mainwindow",and selected "Imagelist file"&"Multithreaded" flags
And then, I press F5 to build it.There some errors.How can I make it work.
In file included from f:/upp/out/Core/MINGW.Debug.Debug_full.Gui.Mt\$blitz.cpp:10:
f:\upp\uppsrc\Core\Mt.cpp:75: error: thread-local storage not supported for this target
f:\upp\uppsrc\Core\Mt.cpp:433: error: thread-local storage not supported for this target
f:\upp\uppsrc\Core\Mt.cpp:434: error: thread-local storage not supported for this target
In file included from f:/upp/out/Core/MINGW.Debug.Debug_full.Gui.Mt\$blitz.cpp:134 :
f:\upp\uppsrc\Core\Random.cpp:180: error: thread-local storage not supported for this target
f:\upp\uppsrc\Core\Random.cpp:181: error: thread-local storage not supported for this target
heaputil.cpp
lheap.cpp
In file included from f:/upp/out/Draw/MINGW.Debug.Debug_full.Gui.Mt\$blitz.cpp:3:
f:\upp\uppsrc\Draw\DrawLock.cpp:11: error: thread-local storage not supported for this target
In file included from f:/upp/out/Draw/MINGW.Debug.Debug_full.Gui.Mt\$blitz.cpp:10:
f:\upp\uppsrc\Draw\Font.cpp:266: error: thread-local storage not supported for this target
f:\upp\uppsrc\Draw\Font.cpp:328: error: thread-local storage not supported for this target
f:\upp\uppsrc\Draw\Font.cpp:355: error: thread-local storage not supported for this target
f:\upp\uppsrc\Draw\Font.cpp:356: error: thread-local storage not supported for this target
f:\upp\uppsrc\Draw\Font.cpp:357: error: thread-local storage not supported for this target
|
|
|
|
Re: thread-local storage not supported for this target [message #23346 is a reply to message #23345] |
Tue, 13 October 2009 01:55   |
jiuzhi
Messages: 10 Registered: October 2009
|
Promising Member |
|
|
[quote title=luzr wrote on Tue, 13 October 2009 03:02
U++ needs TLS. Mingw does not provide one.
Save yourself the trouble and get free M$ Windows SDK (with compiler).
Mirek[/quote]
Under Chinese version windows, vs2005+(vs2003 excepted) cannot compile utf8 encoded source files properly.There're will be many C2001 errors,therefore I chose mingw to take the compiler.
Can I use other thread library?If can, what have to pay attention?
Because I look at upp just now two days, if asked the question is too bothersome or too tired with, I felt that was sorry very much.
[Updated on: Tue, 13 October 2009 01:56] Report message to a moderator
|
|
|
|
|
|
|
Re: thread-local storage not supported for this target [message #23351 is a reply to message #23346] |
Tue, 13 October 2009 14:10   |
 |
mirek
Messages: 14257 Registered: November 2005
|
Ultimate Member |
|
|
[quote title=jiuzhi wrote on Mon, 12 October 2009 19:55]luzr wrote on Tue, 13 October 2009 03:02
U++ needs TLS. Mingw does not provide one.
Save yourself the trouble and get free M$ Windows SDK (with compiler).
Mirek[/quote |
Under Chinese version windows, vs2005+(vs2003 excepted) cannot compile utf8 encoded source files properly.There're will be many C2001 errors,therefore I chose mingw to take the compiler.
|
Yes, that is unfortunately true. We were trying to workaround this problem for years.... to no avail. The only known fix is to set your XP locals to English...
Quote: |
Can I use other thread library?If can, what have to pay attention?
|
TLS is quite important building block of any serious MT effort, thus I guess it will be limiting issue anyway.
Of course, depends on what are you planing to do with MT. If performance is your concern, a good TLS implementation is a big plus.
|
|
|
|
|
Goto Forum:
Current Time: Sun May 11 15:01:57 CEST 2025
Total time taken to generate the page: 0.01894 seconds
|
|
|