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. Why has the tkFloat default value changed?

    In FPC 3.2.0 the default "Default" value of a single/double property has changed from $80000000 (fpc 3.0.4) to 0. This breaks TWriter. The $80000000 means the property…

    Mattias Gaertner, Ondrej Pokorny, Peter
    5
  2. Strange output from make when building 3.2.0

    I am installing fpc 3.2.0 on a notebook running Ubuntu 20.04 LTS When I execute make clean and make sourceinstall I get this strange output message: :~/dev/fpc/3.2.0$…

    Bo Berglund, Marco van de Voort, Sven Barth
    4
  3. Lazarus Release 2.0.12

    The Lazarus team is glad to announce the release of Lazarus 2.0.12. This release was built with FPC 3.2.0. Here is the list of changes for Lazarus and Free Pascal:…

    Mattias Gaertner, Bo Berglund
    1
  4. 50 Years of Pascal

    I thought this might interest folks. Apologies if I am late to the party. https://cacm.acm.org/magazines/2021/3/250705-50-years-of-pascal/fulltext Liam Proven –…

    Liam Proven, Florian Klämpfl, Rainer Stratmann
    3
  5. Generic routines for both dynamic array and other collections

    I am trying to write some generic routines for working with containers. For example, GetLength function: unit u; {$MODE FPC} {$MODESWITCH DEFAULTPARAMETERS} {$MODESWITCH…

    Виктор Матузенко, Graeme Geldenhuys, James Richters
    12
  6. Traits Proposal

    We had talked about this some time ago and it's been rattling around in my brain so I wanted to write it down into a formal proposal where we can discuss it and…

    Ryan Joseph, Adriaan van Os, Ben Grasset
    103
  7. Questions from Semi-Beginner

    Title: OS Upgrade Windows 7 to Windows 10 – Free Pascal Consequences ? I am currently running under Windows 7 but I MUST upgrade to Windows 10 Pro. My questions…

    CSlemaker, Bo Berglund, Christo Crause
    6
  8. self corrupted after jump to overridden method

    I have a strange bug, that suddenly Self becomes a random value when calling an overridden virtual method. It happens when activating a TCustomSQLQuery. Below is a gdb…

    Mattias Gaertner
    1
  9. compiling on command line linux

    Today I had to compile a program on my Linux server. The program was written for windows and needed libraries synapse and lazutils, and they were missing from the server.

    duilio foschi, Alexander Grotewohl, Sven Barth
    3
  10. Windows Defender considers fp.exe a malicious program

    As of trunk r48648, Windows Defender deletes fp.exe after compilation because it considers it an infected file. It claims that fp.exe is infected with…

    Alexander Bunakov, Alexander Grotewohl, Bart
    14
  11. Value:x:y syntax

    At https://lists.freepascal.org/pipermail/fpc-devel/2021-February/043569.html I saw the syntax "value: x: y". What is the name of this and where is it documented? I did…

    Luis Henrique, Christo Crause, Michael Van Canneyt
    4
  12. How to handle fpc.cfg on Ubuntu with 3.0.4 and 3.2.0 co-existing?

    I have an Ubuntu 18.04 laptop on which I have installed fpc 3.0.4/Lazarus 2.0.8 from sources via svn almost a year back into *my home dir*. No system-wide install. Now I…

    Bo Berglund, Graeme Geldenhuys, Michael Van Canneyt
    8
  13. Statically linked-in fpc code

    I am getting crashes on Mac OS X 10.8.5 in a C-program with statically linked-in fpc code. The crashes seem related to fpc unit initialisation. This happens with…

    Adriaan van Os, Jonas Maebe, Michael Van Canneyt
    10
  14. PTCGraph Causing 217

    I've been having issues with PTCGraph causing a runtime Error 217 : EAccessViolation: Access violation at seemingly random times in my program. The error is always on a…

    James Richters, Nikolay Nikolov
    7
  15. Patches for Issue #37906 - DNS over TCP

    I've added patches to resolve issue #37906, DNS over TCP, to the bug tracker: https://bugs.freepascal.org/view.php?id=37906 I've broken the changes into three patches:…

    Noel Duffy, Michael Van Canneyt, Sven Barth
    6
  16. Question about System.Move()

    This may be a silly question. I use System.Move() to move items in a dynamic array, like Move(FData[0], FData[OldEnd], FStart*SizeOf(T)); Where T is the type of the…

    Bart, Benito van der Zander, Derek Edson
    17
  17. Unit testing for RTL packages

    How should one go about adding unit tests to a package in the RTL? In many packages, for instance fcl-db, there is a tests folder with fpcunit units and programs in…

    Noel Duffy, Sven Barth
    3
  18. SQLDB: Set port in TSQLConnector

    I'm trying to connect to a Firebird database with TSQLConnector, but I can't seem to find a way to set the port number. Looking at TIBConnection, there is a port…

    Luis - SoftSAT Sistemas, Luis Henrique, Michael Van Canneyt
    3
  19. fcl-web: Trequest.RemoteAddr is empty (sometimes)

    I need to tailor the content based on the remote ip address. I use the property RemoteAddr of a TRequest, but sometimes it is empty. I see that it is a header, what I…

    Luca Olivetti, Michael Van Canneyt, Santiago A.
    9
  20. TProxyStream.Check always raises error.

    Is there any reason, why TProxyStream.Check always raises Exception without checking, if err = S_OK (ISteam call succeeded). TOleStream overrides this Check to use…

    Virgo Pärna, Sven Barth
    1
  21. Avoiding File conflicts

    I am checking for the existence of a file in my main program loop that runs about 4 times a second waiting for keystrokes etc... If I see the file exists, I just want to…

    James Richters, Bart, Unknown author
    3
  22. FPDoc now with Markdown support

    Hello ! I didn't make it quite in time for the new year, but still: The fpdoc engine (what is used to document the FPC & Lazarus units) is now capable of outputting the…

    Michael Van Canneyt, Bo Berglund, Marco van de Voort
    6
  23. GetClipboardFormatName causing an Error 216

    I'm trying to write a programs to get data from the windows clipboard that was put into it with Notepad++ using vertical editing. It uses a non-standard format and I'm…

    James Richters, Alexander Grotewohl, Jean SUZINEAU
    14
  24. bug or feature

    library test; procedure Test; begin end; exports Test name 3 'abc'; // ^^^^^^^ end. Mattias

    Mattias Gaertner, Michael Van Canneyt, Sven Barth
    2
  25. Happy New Year

    Happy New Year everyone. Keep up the great work.

    Dave Connolly
    0
  26. Operators for a class

    I try to convert some C++ source to FPC, see below a short example from it. How can I define same operator with FPC trunk? class Cla { INT64 Num; public: Cla operator…

    Gabor Boros, Sven Barth
    1
  27. Two versions of freemem() - are they equal

    Do both these method yield the same result, or is one better (performance, safer?) that the other? procedure FreeMem(p:pointer;Size:ptruint); procedure…

    Graeme Geldenhuys, Alexander Grotewohl, Marco van de Voort
    2
  28. Reading Serial Hex Data

    I'm trying to figure out how to read a packet of HEX Bytes of an unknown length that have no specific termination character over a serial port as efficiently as…

    James Richters, Bo Berglund, Jean SUZINEAU
    10
  29. CP_NONE string disappearing

    this code: program Project1; {$mode objfpc}{$H+} var a,b, c: string; begin   a := 'x';   b := 'y';   SetCodePage(RawByteString(b), CP_NONE, false);   c := a+b;  …

    Benito van der Zander, Jonas Maebe
    1
  30. TCustomStream still using LongInt and not Int64

    Is this a bug in FPC 3.2.0 where TCustomStream still uses LongInt in the Read() method, where all other methods in in the class uses Int64 type? Here is the FPC code:…

    Graeme Geldenhuys, Michael Van Canneyt
    2

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