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 » Community » U++ community news and announcements » Win32 nightly builds now using mingw
Re: Win32 nightly builds now using mingw [message #46287 is a reply to message #46283] Fri, 08 April 2016 09:04 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14263
Registered: November 2005
Ultimate Member
cbpporter wrote on Thu, 07 April 2016 23:39
mirek wrote on Thu, 07 April 2016 23:48
I have found that -O3 mode does not work with mingw. I suspect linker issue....

So it is not just me then?

Anyway, I might be able to circumvent the problem.


Well, this one can be "circumvented" by using -O2 instead Smile (It seems that the speed is similar).

Quote:

What I'm doing in the atexit method is basically leak detection. How did you manage to do leak detection in U++, since such code needs to run after global destructors, right?


Check the code Smile It is at the end of heapdbg.cpp and near then end of Core.h.

MSC and GCC have some means to achieve it. If that does not work, universal approach is to make it the first (or likely first) constructor (Core.h 337).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TheIDE - Python syntax and indention support
Next Topic: Core: New String methods
Goto Forum:
  


Current Time: Sun Jun 29 08:16:01 CEST 2025

Total time taken to generate the page: 0.04325 seconds