Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Freepascal 3.2.0 release candidate (Announce)

posted by Laaca Homepage, Czech republic, 25.04.2020, 19:01

Hm, f*ck. I've found a regression between FPC 3.0.4 and FPC 3.2.0
If the debugging informations is turned on I still get in the end of the program a detailed info about unfreed memory block.

So - the program normally ends but it does not silently go back into DOS but on the screen appears a detailed list of all unfreed memory blocks.
It may be a nice feature in some circumstancies, but hey, how can I switch it off?

I know that I don't free all memory blocks - it is OK for me.
I have not discovered any combination of switches which allows me to debug the program (in IDE) but don't bother me with this "info".

It seems that switch combination...
-g
-gh-
-gl-
...does not help.

It look like FPC is always loading the Heaptrc unit.

The normal behaving program compiled with FPC 3.0.4 (debug info on) is here: http://laaca.sweb.cz/barev304.exe
and the same source compiled with same settings with FPC 3.2.0 is here:
http://laaca.sweb.cz/barev320.exe

It is a demo application for me units - a simple color selector for HiColor modes.

---
DOS-u-akbar!

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 410 users online (0 registered, 410 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum