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 » [SOLVED] Unable to compile MT applications (weird assembler error with GCC on Linux i386 arch)
Re: Unable to compile MT applications (weird assembler error with GCC on Linux i386 arch) [message #42214 is a reply to message #42186] Thu, 27 February 2014 22:06 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1094
Registered: August 2007
Senior Contributor

Update:

If I move MemoryFreeThread() & MemoryCheck() to sheap.cpp (where a heap variable is explicitly declared), then heap.cpp compiles successfully.


void MemoryFreeThread()
{
	heap.Shutdown();
}

void MemoryCheck()
{
	heap.Check();
}



But the other file, heaputil.cpp still gives the error, since a heap variable is used in both MemoryProfile() and DoPeakProfile(), and I can't move them to sheap.cpp, since the first is a class constructor and the other contain a local variable.

It seems that the variable "heap" is not "visible" from the both files. Any suggestions?

Regards.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem using TcpSockets
Next Topic: SSL handshake error
Goto Forum:
  


Current Time: Thu May 16 13:29:19 CEST 2024

Total time taken to generate the page: 0.01823 seconds