Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2026-02

  1. Unicode weirdness

    Consider the following test program program testunicode; uses SysUtils; var f: file; b: boolean; begin Assign( f, 'tést'); Rewrite( f); Close( f); b := FileExists(…

    Adriaan van Os, Sven Barth
    2
  2. Transparent file names in ISO mode

    Hi. Current state of the compiler: The fpc option 'transparent file names in ISO mode' (-Sr) implies the file extension ‘.txt’ for text files. While this is fine for…

    Karl-Michael Schindler
    0
  3. A little something I've been working on...

    They say Object Pascal is a classic, but every classic deserves some modern love. I've silently spent the last few months building something that has actually been in…

    Unknown author, Hairy Pixels, J. Gareth Moreton
    20
  4. Code Syntax

    Sven was kind enough to share the following link: https://wiki.freepascal.org/Coding_style From memory, I recall FPC includes a code formatter (can't remember the name).…

    Unknown author, Michael Van Canneyt, Sven Barth
    5
  5. FPC 3.2.4rc1 for macOS updated

    I've updated the installer for FPC 3.2.4rc1 to be compatible with macOS Tahoe. It should also still be compatible with Mac OS X 10.8 and later. You'll still have to open…

    Jonas Maebe, Adriaan van Os
    1
  6. Xtensa build for ESP32 - Error: unknown opcode or format name 'dpfr'

    We followed the instructions on this ... ... and on the referred-to page ... A considerable way through the resulting FPC build this happened ... FPC source used was…

    Unknown author, Christo Crause
    2
  7. Possible inlining problem

    So I recently rebased my pure function code (https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/645 - nearly 2 years since I first made the merge request, on…

    J. Gareth Moreton
    1
  8. Unit dependencies

    It seems, that if I make any change in a unit file, even if it is just a comment, then the change triggers a recompile of all dependent units. In theory, only a…

    Adriaan van Os, Hairy Pixels, Martin Frb
    14
  9. Uses clause with in patrh

    Section 16.1 Programs of the FreePascal Language Reference Guide describes the uses clause and also discusses the optional in keyword with a path string literal. It says…

    Adriaan van Os
    0
  10. generic and type compatibility / interface vs class ...

    ok, so if I have    procedure bar(f: IntfFoo); I can do    bar(SomeClassInstanceThatImplementsFoo); makes sense, the interface can be gotten at the time of calling.…

    Martin Frb, Hairy Pixels, Michael Van Canneyt
    7
  11. interfaces / inheritance / again -

     Not yet tested, but only matters if it is not going to be discontinued (in case it actually works) I want a   generic Foo <_A: SomeIntf;  _B: TBar> such as that I…

    Martin Frb, Michael Van Canneyt
    10
  12. inheritance of interfaces.

    If I have the below code, I can pass an object that has I1 (TFoo if uncommented) to the test function I can also pass an inherited interface. "x1: i2" But I can not pass…

    Martin Frb, Michael Van Canneyt
    1
  13. AI-powered quantum-ready cloud-native heaptrc with blockchain-based verification

    I’ve rewritten heaptrc, pls review / test / accept !1278. Possibly WIP, but trunk already looks worse to me for the reasons listed. Among other things, this might let…

    runewalsh
    0
  14. Question on interface inheritance...

    The below example throws a compile error... Technical correct, well... (doesn't matter which of the 2 intf I use as return type...) Also, same when doing (in the 2…

    Martin Frb, Mattias Gaertner
    6