fpc-pascal · 2024-06
- Heap trace on mac still not working?4
One more thing that's getting to me today. Heap trace on macOS still seems to be broken, i.e. using -gh I only get addresses and no line numbers. Has been for years it…
- Sub-millisecond time measuring13
I had a large function which I was profiling with MilliSecondsBetween but I split it to be called many different times and now it's not accumulating the total time…
- FPC 3.3.x breaks the Firebird Project's Firebird.pas5
This is a problem reported to me by an IBX user. I have not yet confirmed it (need to find the time to set up the latest development branch of FPC), but the issue looks…
- How to use external linker on windows i3864
I am on Windows 64bit, but using the i386 compiler. I have to link a 3rd party OBJ file with {$L 'xyz.obj'}. With the internal linker I get these errors: Error: COMDAT…
- Ordinal casting to enums3
This program below crashes because the value 12 is not in the enum. I was curious though, how does it know this? Does it have to do a linear search through the enum to…
- Custom NewInstance allocator4
In the manual it at https://www.freepascal.org/docs-html/ref/refse38.html it says "Calling the constructor will provoke a call to the virtual class method NewInstance,…
