fpc-pascal · 2020-08
- 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…
- Language server extension for VSCode0
I finally figured out how to get the Visual Studio Code extension working for the language server. Does anyone want to test? I added some very brief instructions but…
- Null values with JSON RPC14
I'm trying to get the pascal language server working on Visual Studio Code and during testing I found that sending null values to the server is causing problems. i.e.:…
- FP wiki shows bad picture sizes0
Picture at https://wiki.freepascal.org/CudaText#Lexers and at https://wiki.freepascal.org/CudaText#Lexers_editing both shown with wrong sizes -- left from old picture …
- Strange "Undefined symbol" error in FPC 3.2.05
Hi! I have pretty large program which compiles and runs fine with FPC 3.0.2, but if I try to compile it with FPC 3.2.0 (win32, i386, downloaded installer here…
- Lazarus 2.0.10 FPC 3.2.0 TFPHTTPClient no longer supports https10
After upgrading to Lazarus 2.0.10 FPC 3.2.0 , my existing code using TFPHTTPClient.Get('https://api.telegram.org/bot') returns the error "No SSL Socket support compiled…
- Command Line compiler1
I've encountered a problem with the command line version of the compiler for OS/2. It only appears to occur when the compiler attempts to recompile sub-units and the…
- YAML parser1
Is there any YAML parser that exists for FPC? Couldn't seem to find one despite YAML being a pretty popular format. Ryan Joseph
- macOS linker error ld: framework not found CoreImage2
I am mainly working on MacOS 10.10 (Yosemite). After updating from FPC 3.0.4 to 3.2.0, and Lazarus from 2.0.4 to 2.0.10, I now get this linker error: ld: framework not…
