Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2020-08

  1. Procedural generics question

    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,…

    Unknown author, Benito van der Zander, leledumbo
    9
  2. FFI or RTTI invoke for Apple arm64

    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

    Carlo Kok, Michael Van Canneyt, Sven Barth
    7
  3. Using built-in serial instead of synaser and the like for Linux console app?

    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…

    Bo Berglund, Carsten Bager, Christo Crause
    15
  4. Linux GTK-2 GUI app

    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?…

    Adriaan van Os, leledumbo, Michael Van Canneyt
    9
  5. fpmake addlibrary

    AddLibrary('libbla.pp') creates under Linux "blalib.so". I want "bla.so". How to do that? Mattias

    Mattias Gaertner, Michael Van Canneyt
    7
  6. bug tracker (bugs.freepascal.org) APPLICATION ERROR #400 (db connection failed)

    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…

    Dmitry Boyarintsev, Christo Crause, Michael Van Canneyt
    3
  7. go32 tcp

    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…

    Andreas, Tomas Hajny
    2
  8. Can't build FPC 3.2.1

    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:…

    Marcelo Rocha, Jonas Maebe, Sven Barth
    5
  9. ExecuteProcess problem

    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…

    Koenraad Lelong, Karoly Balogh (Charlie/SGR, Luca Olivetti
    5
  10. How reliable are Hashlists in Contnrs

    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?)…

    Unknown author, Bart, Sven Barth
    3
  11. Difference between Associative array and Hashlist?

    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…

    Unknown author, Sven Barth
    1
  12. Lazarus start problem after power outage on RPi4

    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…

    Bo Berglund, Mattias Gaertner
    2
  13. Regression in 3.2.0 ??

    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…

    Peter, Michael Van Canneyt, Sven Barth
    3
  14. fpcres now supports compilation of RC files

    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…

    Sven Barth, Graeme Geldenhuys
    1
  15. Archive libraries

    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:…

    Darius Blaszyk, Anton Shepelev, Marco Borsari
    11
  16. Can't disable quoting in TStrings

    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…

    Luis - SoftSAT Sistemas, Michael Van Canneyt
    2
  17. FPC buildbot

    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…

    Darius Blaszyk, Joost van der Sluis, Travis Siegel
    5
  18. FPC coding standards

    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…

    Dwight Schauer, Marco van de Voort, Michael Van Canneyt
    9
  19. Raspberry PI download

    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.…

    Carsten Bager, Bo Berglund, John Lee
    4
  20. Strange swap function, what does it do?

    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…

    Bo Berglund, Sven Barth
    1
  21. Bad code generation

    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…

    Colin Western
    0
  22. RTL semaphore supported?

    Are semaphores actually supported in the RTL? I don't see they're available on macOS (compiling with trunk even).…

    Ryan Joseph, Nico Neumann, Sven Barth
    5
  23. Resource compilation

    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…

    Martok, Bart, Benito van der Zander
    47
  24. 3.2.0 Invalid PPU Version

    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…

    Ryan Joseph, Sven Barth, Tomas Hajny
    5
  25. Language server extension for VSCode

    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…

    Ryan Joseph
    0
  26. Null values with JSON RPC

    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.:…

    Ryan Joseph, Joost van der Sluis, Michael Van Canneyt
    14
  27. FP wiki shows bad picture sizes

    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 …

    Alexey Tor.
    0
  28. Strange "Undefined symbol" error in FPC 3.2.0

    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…

    Виктор Матузенко, Alexey, code dz
    5
  29. Lazarus 2.0.10 FPC 3.2.0 TFPHTTPClient no longer supports https

    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…

    Dennis, LacaK, Michael Van Canneyt
    10
  30. Command Line compiler

    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…

    Paul Renaud, Tomas Hajny
    1
  31. YAML parser

    Is there any YAML parser that exists for FPC? Couldn't seem to find one despite YAML being a pretty popular format. Ryan Joseph

    Ryan Joseph, Michael Van Canneyt
    1
  32. macOS linker error ld: framework not found CoreImage

    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…

    Tobias Klaus Giesen, Jonas Maebe, Tobias Giesen
    2