fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Help with TList example6
I'm trying to figure out how TList works. I found the code example below by doing a search, but I can't compile it, I get Error: Illegal qualifier on the line…
- Why can I not build fpc 3.0.4 with ppcarm 3.0.0 or 3.0.4?1
I have a script I use all the time to install FPC/Lazarus on Raspberry Pi units when I configure for development. Today when I was setting up a Raspberry PiZero I was…
- TFPTimer does not fire, why?3
Ì have a problem using TFpTimer on Linux (FPC 3.0.4, Lazarus 2.0.8 on Raspbian). The application is a small GUI test app where I have added a timer in order to update…
- Thread problem1
I'm having a problem with the OS/2 version of the compiler. This simplified version of my program keeps generating an exception when compiled and run in EComStation 1.2,…
- Finding Port Addresses0
Does anyone know how I can use FreePascal to obtain all the installed Serial and Parallel Port addresses on Windows 10? I have a program that reads registry keys at…
- x86-linux-gnu cross2
On Mac OS X 10.8, I have built an fpc-3.0.4 runtime-library for CPU_TARGET=x86_64 OS_TARGET=linux BINUTILSPREFIX=x86_64-linux-gnu- after building gnu binutils-2.34 for …
- Procedural generics question9
Inside a generic procedure (no objects used just a procedure) is there a way to check which type the code is being used for such as: generic procedure Add<integer,…
- FFI or RTTI invoke for Apple arm647
for PascalScript FFI support, are there plans to support RTTI .Invoke, or any form of FFI available to do dynamic invoke from Pascalscript to FPC/api code? Carlo Kok
- Using built-in serial instead of synaser and the like for Linux console app?15
What is the advantage of using synaser over serial in a simple non-gui program running in the console in Linux? I have been struggling making LazSerial work in a console…
- Linux GTK-2 GUI app9
Any recommendations for distributing a FPC gtk-2 GUI app on Linux ? I would prefer it to be as simple as possible. Use something like AppImage ? Create a .desktop file?…
- fpmake addlibrary7
AddLibrary('libbla.pp') creates under Linux "blalib.so". I want "bla.so". How to do that? Mattias
- bug tracker (bugs.freepascal.org) APPLICATION ERROR #400 (db connection failed)3
The site opens up with: APPLICATION ERROR #400 Database connection failed. Error received from database was #-1: Database connection failed. Please use the "Back" button…
- go32 tcp2
I would like to use TCP in a DOS FPC project. I see in go32-v2 download page under "Optional-Files" the unit ufclndos. I downloaded it but have not managed to find any…
- Can't build FPC 3.2.15
I have downloaded fpc 3.2.0 linux x64 installer, and builded fpc's branch fixes_3_2 using it.. When I run the command make install, I've got the following errors:…
- ExecuteProcess problem5
I'm extending an old daemon so it writes the data to MQTT, using mosquitto_pub. To have a correct message (-m ...) I need to include double-quotes. But it seems…
- How reliable are Hashlists in Contnrs3
I've noticed some problem with another hashlist that after adding about 2000 items to it, it starts to have problems. There are duplicates added (possibly a collision?)…
- Difference between Associative array and Hashlist?1
Since FPC has no associative array I was thinking that the closest is TStringList with name/value pairs. Then there is a hashlist in contnrs. Maybe an associative array…
- Lazarus start problem after power outage on RPi42
Tonight there was a power outage in my home where I have a RaspberryPi 4B development system with Lazarus 2.0.8 and Fpc 3.0.4. When it happened the system was running…
- Regression in 3.2.0 ??3
I wondering if there is a regression in 3.2.0. The Lazarus file fpguiwsprivate.pp no longer compiles. It was fine in 3.0.4. The error message "No matching implementation…
- fpcres now supports compilation of RC files1
Hello together! Thanks to the work of Martok the fpcres utility is now able to compile RC files into RES files. To compile an RC file to a RES file you need to pass the…
- Archive libraries11
To my delight I found out that FPC actually provides quite a few archive handling libraries out of the box. Thanks to all that have contributed to that! So far I found:…
- Can't disable quoting in TStrings2
As stated in http://docwiki.embarcadero.com/Libraries/Tokyo/en/System.Classes.TStrings.QuoteChar setting QuoteChar to null should disable the quote, but it won't work in…
- FPC buildbot5
I was looking for the sources of a buildbot suitable for an FPC project. I would like to keep it as simple as possible, so no webserver hassle for instance. Just simply…
- FPC coding standards9
Is there a default ptop.cfg somewhere that follows the FPC coding standards? https://wiki.freepascal.org/Coding_style I'm not looking to submit any PR in the near…
- Raspberry PI download4
The links to download the Raspberry PI version, is not working. Does anyone know if there will be a PI version in the future I have tried on the Hungary and Canada site.…
- Strange swap function, what does it do?1
I am working on the conversion of a service application from Windows/Delphi to Linux/FPC. When going through the code I found this procedure, which I do not quite…
- Bad code generation0
On win 64, I have some code that consistently gives a segmentation fault with the current trunk fpc under -O4, and debugging suggests bad code generation. On Linux it…
- RTL semaphore supported?5
Are semaphores actually supported in the RTL? I don't see they're available on macOS (compiling with trunk even).…
- Resource compilation47
the $R directive accepts resource scripts (RC) and compiles the RES file from it on demand. However, that only happens if the RES file does not exist - if it does, the…
- 3.2.0 Invalid PPU Version5
Does anyone have any idea how this happened? I installed 3.2.0 from an installer so why is the PPU version wrong? PPU Loading…
