Sign in Join

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

Mailing lists

fpc-pascal

Subscribe to this list Your subscription

All words must match. Use "exact phrase", -word, -"phrase", from:name, from:"first last", list:fpc-devel, year:2011, before:2012-03, after:2010, in:subject.

Latest threads

  1. Illegal expression when redeclare typed constant

    Suppose  I have unit mytest; interface const    MY_VALUE = 1;    MY_INT_VALUE: integer = 1; implementationend. and second unit unit mytest2; interface uses mytest;…

    Zamrony P. Juhara, Sven Barth
    1
  2. Cross-compile for Linux Arm (RaspberryPi) on Windows 10?

    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…

    Bo Berglund, Unknown author
    2
  3. Is Online Package Manager not a standard part of Lazarus?

    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…

    Bo Berglund
    1
  4. Downloaded cross-compiler from Sourceforge - wiki incorrect?

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

    Bo Berglund, Martin Frb, Sven Barth
    6
  5. Working with anonymous functions

    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…

    Thomas Kurz, Sven Barth
    1
  6. FPC crashes with Internal error 200502052 compiling shared library on m68k

    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…

    Peter B, Karoly Balogh, Pierre Muller
    5
  7. Lazarus Release 2.2.6

    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…

    Mattias Gaertner
    0
  8. possible bug in blockwrite

    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…

    Travis Siegel, Bart, Unknown author
    3
  9. Building compiler which stalls

    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…

    Hairy Pixels, Jonas Maebe
    5
  10. Function reference confuses function pointer?

    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…

    Hairy Pixels, Dwight Schauer, Michael Van Canneyt
    5
  11. Duplicate identifier "$result"

    I’m trying to build a project on Windows and I’m getting the error mentioned in the subject. It appears to be from a nested function in a generic class which is…

    Hairy Pixels, Dwight Schauer
    2
  12. CalDAV

    How to connect to nextcloud CalDAV using fpc? I need to connect to one calendar, list dates, delete dates, create dates. Mattias

    Mattias Gaertner, Michael Van Canneyt
    1
  13. aligned?

    What does the fpc built-in function aligned? For example in FloatToStrFIntl: Str(Double(Extended(Aligned(Value))):precision+7, Result); Mattias

    Mattias Gaertner, Florian Klämpfl
    2
  14. star operator on enum types

    I found in a fpc program a statement sort of: Type   TSomeType = (a,b,c)   TaType = set of TSometype var   setA,setB: TaType; ..... *if setA * setB = [] then…

    Giuliano Colla, Sven Barth
    2
  15. FpcGui, MSEGui

    Have you worked with both? Both are pure FreePascal GUIs, not depending of ant external library. What are the differences? Which one do you think is more mature, …

    Santiago A.
    0
  16. A rather good blog post on Object Pascal that I thought you folks might enjoy

    Why Object Pascal is More Than Meets the Eye: Exploring the Power and Versatility of Delphi and FreePascal…

    Liam Proven, Abuy, geneb
    7
  17. Why in {$mode delphi} it works and in {$mode objfpc} it doesn't?

    I stumbled into a problem I don't understand. I'm developing a little program for an ftp client. In order to connect to the site I need the site address from the site…

    Giuliano Colla, Marco van de Voort, Mattias Gaertner
    7
  18. TSQLQuery doesn't work with a lookup field if it is a memo (text)

    I just found out that if I try to create a lookup field that points to a memo field (in postgresql the field is defined as text), it bombs out with "list index (-2) out…

    Luca Olivetti
    1
  19. Dynamic array question

      is there a way how to have dynamic array "inside" another dynamic array?   program project1; {$mode objfpc}{$H+}   uses   {$IFDEF UNIX}   {$ENDIF}   Classes,…

    Vojtěch Čihák, Joost van der Sluis
    2
  20. Open array in object constructor gives error

    Why is using the open array parameter illegal using the Object type? ======================== {$mode objfpc} program test; type TMyObject = object constructor…

    Hairy Pixels, Marc Weustink, Mattias Gaertner
    14
  21. TFPHttpClient & TFPHttpServer

    I would like to write some code where a TFPHttpClient component sends a minimal json payload to a TFPHttpServer that (reads the payload). The working of the…

    duilio foschi, Mattias Gaertner, Michael Van Canneyt
    4
  22. Local Type T and generics

      I have local type TTempItem, i.e. declared inside method of a generic class. When I write: type       TTempItem = record        Item: T;        Empty:…

    Vojtěch Čihák, Sven Barth
    2
  23. Programming Pascal using an AI Chatbot

    The following page hosts a series of Pascal programming questions I asked an AI chatbot system while testing its abilities. https://www.getlazarus.org/aichatbot

    Anthony Walter, Dwight Schauer, Hairy Pixels
    13
  24. For Loop with QWord

    I'm wondering why I can't have the following: Var I: QWord; Begin For I := 1 To N Do . It generates an error: Error: Ordinal expression expected If I change it to…

    James Richters, Bart
    1
  25. Working on a new way to educate people about pascal

    I had a new idea for an interface design to help people who either are not into programming yet or have only used a language other than Free Pascal. Please see this…

    Anthony Walter, Adriaan van Os, Anthony Youngman
    42
  26. Generic threadlist

    Hi, I made a generic threadlist for the unit fgl. I'm wondering what is the opinion on stuff like that. Specifically it's T: TObject and not for "pointers." I had made…

    Andrew Haines
    0
  27. fcl-web websocket

    I am trying to test the websocket client in fcl-web by making a simple echo client. I have been unable to make it work using fpc trunk on linux64. I also crosscompiled…

    Andrew Haines, Michael Van Canneyt
    9
  28. Unrelated type helpers with the same members? Implement an interface with a type helper?

    Hi what I want to do is similar to this question here: https://en.delphipraxis.net/topic/423-rtti-determine-record-helper-type-for-a-base-type/ I am going to create…

    Andrew Haines, Michael Van Canneyt, Ondrej Pokorny
    10
  29. SqlDB TSQLQuery sqoAutoApplyUpdates does not work with ExecSQL

    On MSSQL i use a stroed procedure to count a value in a table and use the following statement in Lazarus I must extra write an ApplyUpdates, because the…

    Andreas Frieß, Andi Friess, Michael Van Canneyt
    9
  30. debugserver and dbugintf

    I'm using FPC 3.2.2 as installed with Lazarus 2.2.4. I'm using the debugserver/dbugintf for some time and implemented some small changes to improve this duo. The files…

    Rolf Wetjen, Michael Van Canneyt
    1

Browse by month

2026
2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999