fpc-pascal · 2023-03
- Converting old pascal written for Pascal/MT+ compiler24
I have some old Pascal code that was compiled in a CPM environment using the Pascal/MT+ compiler from Digital Research. I'm trying to get this project to build in a…
- Search for reviewers0
I would like to get in touch with people interested on reviewing freepascal code for the torokernel. I have been working on this project since 2006. However, my…
- Converting Delphi7 code to FreePascal with interfacing to protection key?19
We have a number of old Delphi7 applications which are in need of porting over to FreePascal. I have successfully done a number of these ports in the last few years...…
- Cache-line alignment for records15
Apologies in the case this subject has been already discussed. I require that some global variables be cache-line aligned. This is a requirement for per-CPU variables…
- Fpc 3.2.2 fails to "make install" on RPi4 to local directory2
I have a RaspberryPi4 where I have installed several versions of Lazarus/Fpc over some time. The latest versions are (fpc from Tools/Options/Compiler_executable): Laz…
- pointer to char vs pchar4
why is a pointer to a char not a pchar (for type helpers)? program Project1; {$Mode objfpc}{$H+} {$ModeSwitch typehelpers} type TPcharHelper = type helper for pchar …
- compiler last sources Internal error on code including generic and anonymous function1
Hello, from time to time I recompile fpc and lazarus from latest sources. After today's recompilation compiler cannot translate construction, what was possible to…
- Illegal expression when redeclare typed constant1
Suppose I have unit mytest; interface const MY_VALUE = 1; MY_INT_VALUE: integer = 1; implementationend. and second unit unit mytest2; interface uses mytest;…
- Cross-compile for Linux Arm (RaspberryPi) on Windows 10?2
I have latest Lazarus/Fpc on my Windows 10 main computer, but also on a number of RaspberryPi (3 and 4) devices. If I create an application on Windows and want to build…
- Is Online Package Manager not a standard part of Lazarus?1
I thought Online Package Manager was standard since it appeared in all earlier installs I have made both using Sourceforge Windows installers or via sources downloaded…
- Downloaded cross-compiler from Sourceforge - wiki incorrect?6
I tried to add a cross-compiler for Win32 to my existing Lazarus 2.2.4 installation on Windows 10 x64. So I followed the instructions on the fpc wiki:…
- Working with anonymous functions1
I'm testing FPC-trunk and I'm especially interested in using anonymous functions because they should simplify working with TThread.Synchronize and others a lot. I…
- FPC crashes with Internal error 200502052 compiling shared library on m68k5
On Debian 12 (Bookworm) FPC release version 3.2.2 crashes on m68k when trying to build a shared library. See https://buildd.debian.org/status/package.php?p=doublecmd…
- Lazarus Release 2.2.60
The Lazarus team is glad to announce the release of Lazarus 2.2.6. This is a bugfix release and was built with FPC 3.2.2. Here is the list of changes for Lazarus and…
- possible bug in blockwrite3
I'm using FPC 3.2.0, though I doubt anything changed in the most recent releases, though I'll try those if folks think it's worth doing so. What I ran across yesterday…
- Building compiler which stalls5
Following up I’m trying to rebuild my compiler from sources and something strange has happened. Here’s the build command I used and it builds the compiler up to step…
- Function reference confuses function pointer?5
This caused me a nasty debugging confusion, it’s a bug right? In the program below the two parameters passed to TBinding.Create have the same address despite being…
