Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » GuiLock Example broken
Re: GuiLock Example broken [message #22871 is a reply to message #22860] Mon, 24 August 2009 10:26 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3361
Registered: August 2008
Senior Veteran
Hello all

Good news. Twilight Dragon Media has released their GCC/mingw32 4.4.1 version (http://www.tdragon.net/recentgcc/)

I have just tried GUIMT and GUILock samples and both work.

Bad news. The samples seem to go slow. GUILock with MSC Debug goes much faster than with MinGW Speed.

The binaries I have chosen first are without dwarf-2.

Best regards
Koldo

Addendum 1:

Unfortunately there are compiling problems using dwarf-2 version
Compiling GUILock sample I get:
Quote:

In file included from C:/upp/out/Draw/MINGW.Debug.Debug_full.Gui.Mt\$bl itz.cpp:3:
C:\upp\uppsrc\Draw\DrawLock.cpp:11: error: thread-local storage not supported for this target
In file included from C:/upp/out/Draw/MINGW.Debug.Debug_full.Gui.Mt\$bl itz. sGlokLevel > 0".cpp:10:
C:\upp\uppsrc\Draw\Font.cpp:266: error: thread-local storage not supported for this target
C:\upp\uppsrc\Draw\Font.cpp:328: error: thread-local storage not supported for this target
C:\upp\uppsrc\Draw\Font.cpp:355: error: thread-local storage not supported for this target
C:\upp\uppsrc\Draw\Font.cpp:356: error: thread-local storage not supported for this target
C:\upp\uppsrc\Draw\Font.cpp:357: error: thread-local storage not supported for this target
...


They are related with thread__.

Addendum 2:

This is black magic for me: In Mt.h using always
#define thread__ __declspec(thread) 
(removing __thread) GUIMT sample works well and GUILock stops with error "Assertion failed in ... DrawLock.cpp, line 32. sGLockLevel > 0"



Best regards
IƱaki

[Updated on: Mon, 24 August 2009 11:22]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to send msg to specific IP ?
Next Topic: Example Hello World Client/Server Broken?
Goto Forum:
  


Current Time: Thu May 16 00:36:34 CEST 2024

Total time taken to generate the page: 0.01414 seconds