Sign in Join

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

Mailing lists

fpc-devel

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.

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

Latest threads

  1. Another "bug or feature" type alias

    Variables of non-related classes can't be assigned to each other. E.g. wrong:    f := b type = type ... creates a new type.   TRec2 = type TRec; then "r := r2" will…

    Martin Frb, Ondrej Pokorny
    1
  2. wiki down

    Any progress in bringing the wiki up and running? Why is it taking so long? Is there a mirror site somewhere?

    Werner Pamler
    0
  3. fpc tests - question

    If I wanted to create a testcase in fpc.... I put a new file into   tests/test/tmytest.pp If that test needs to have units it uses, I can add   tests/test/umyunit.pp…

    Martin Frb
    0
  4. bug or feature? type alias

    TFoo = type TBar creates a new unique (non assignment compatible) type. At least for non-base types (e.g records). In the below that works, except the new type is not…

    Martin Frb, Michael Van Canneyt
    1
  5. Questions on RTTI

    Can someone check the below statements for correctness please? --------------------------------------------------- - A  class itself has always some RTTI of its own.…

    Martin Frb, Michael Van Canneyt, Sven Barth
    2
  6. Error building FPC main in Fedora 44 ("read-only segment has dynamic relocations", in linking pas2js)

    Is this a known bug? Any directions to investigate this? Free Pascal Compiler version 3.2.2 [2021/05/16] for x86_64 (downloaded from SourceForge, IIRC) Output: (...)…

    Flávio Etrusco
    1
  7. composed record with private/public => documented behaviour?

    The fields of the embedded record become available in the outer record. What visibility do they get (I can and have tested, and results make sense / but I want to know,…

    Martin Frb, Mattias Gaertner
    1
  8. published versus advanced rtti

    Afaik the published keywords only purpose is to add RTTI (or do nothing, depending on $M). Afaik using advanced rtti (I haven't done yet) you can add RTTI to other…

    Martin Frb, Michael Van Canneyt
    2
  9. Fwd: New Issue: Accessibility Declarations for FreePascal

    Can someone comment on this? Do we have C-like distinction between access and visible? I would think not? If you can access it you can see it, and vice versa? I can't…

    Martin Frb, Marco van de Voort, Tomas Hajny
    4
  10. Val() behaviour in a function depends on LongStrings ON/OFF?

    This is driving me crazy. Val('256', AByte, Code) should fail. It does, but sometimes it does not. =========== uses sysutils; {$PUSH} {$R+} function…

    Bart
    5
  11. Feedback please - semantics of private vs strict private

    I started a proposal to add strict private/protected to DWARF. If I could have some thoughts on the below question please. If I understand that correct, the idea may be…

    Martin Frb
    1
  12. Currency update

    I have to apologise for my recent absence and lack of progress fixing the bugs I've caused.  I'm currently fixing the failure in webtbs/tw41865c.pp which is centred…

    J. Gareth "Kit" Moreton, Sven Harazim
    2
  13. TStrings.IndexOf(String, Integer) question

    TStrings has - function IndexOf(const S: string): Integer; virtual; - function IndexOf(const S: string; aStart : Integer): Integer; virtual; TStringList has - function…

    Bart, Michael Van Canneyt
    2
  14. stat and nil

    Are older Linux versions safe to  call stat with a nil pointer? https://man7.org/linux/man-pages/man2/stat.2.html (According to google 6.11 is from 2024 / if so, older…

    Martin Frb
    1
  15. Merge requests

    I've seen a few features been added by MR recently. So I wanted to take the opportunity and push some of my MR into view again. 1) Most awaited by many users: The…

    Martin Frb
    0
  16. private visibility question

    If I have the below TFoo, and in ANOTHER unit I declare var   foo: TFoo then I can access   foo.e := a1; This works even though "a1" is private and not visible. But…

    Martin Frb
    1
  17. is not operator

    I would like to implement the "is not" operator in fpc. It was introduced in Delphi 13. For example: if Obj is not TStringList then ... It has the same precedence as…

    Mattias Gaertner, Adriaan van Os, Bart
    44
  18. TViHashList and TFPHashObjectList in compiler

    I studied the compiler internals by debugging it. Does TViHashList have any documentation or diagram or anything? It differs from many other hash maps. Is it based on…

    Juha Manninen, Michael Van Canneyt, runewalsh
    3
  19. Internal error 4179

    I'm currently on Ubuntu on a AMD64 system. Compiling something with 3.2.2, I got an Internal Error 4179. I removed 3.2.2 and installed 3.2.4-rc2. I again get this error.…

    Il Grande Beppe, Karoly Balogh
    1
  20. TDirectory.Delete(SomePath, True) possibly silenty deletes the contents of symlinks/junctions

    On Lazarus there has been a bugreport that DeleteDirectory follows symlinks and unexpectedly removes their contents instead of just deleting the symlink (or junction).…

    Bart
    2
  21. fixed bug in crosscompiling not available in fpc 3.2.x

    The following fix is not included in the last release candidate and it causes problems when using cross compiling (compile from win64 for linux).…

    Dimitris Kounalakis
    0
  22. Subject: six issues from a native aarch64-win64 port (three of them not target specific)

    I opened six issues over the past week, each with a patch. Here is where they come from. I ported mORMot 2 (~616k lines) to Windows on ARM, with a trunk compiler built…

    Sven Harazim, Sven Barth
    6
  23. ppcrossx64 build on macOS darwin with ppca64 is failing

    I'm trying to build ppcrossx64 on my macOS darwin Tahoe apple silicon machine with a ppca64 built from fpc trunk and Xcode 26.6 and no Rosetta running. Should I expect…

    David Jenkins, J. Gareth "Kit" Moreton, Karoly Balogh
    6
  24. Invalid vTypeInfo pointer for _VMT_$SYSUTILS$_$TMARSHALLER

    This is strange and I don't know if I should report it as a bug If I walk the Mach-O class symbols in the executable (skipping indirect symbols) and get the VMT pointer…

    Adriaan van Os
    0
  25. Consideration on "$CapturerClass" - reference to function - and debugging

    I understand that a reference to a function is an interface, and therefore the only really know think is that it has zero, one or more functions, and the definition of…

    Martin Frb, Sven Barth
    3
  26. Does 3.2.3 still support Windows XP ?

    Still checking what causes it, but somewhere since February something changed. The IDE fails with cant find entry point for gettickcount64 there is a commit SHA-1:…

    Martin Frb, Marco van de Voort, Sven Barth
    10
  27. CORBA and GUID => changes?

    According to https://forum.lazarus.freepascal.org/index.php?topic=74492 corba interfaces without guid no longe compile? If so, why? e.g. a base "class" (interface), that…

    Martin Frb, Hairy Pixels, Sven Barth
    5
  28. -ix

    The -ix option has no entry in ppc... -h. How does it work? Mattias

    Mattias Gaertner, Karoly Balogh
    1
  29. Mode macpas macros are broken

    I looked at issue #41731 <https://gitlab.com/freepascal.org/fpc/source/-/work_items/41731> and found that it is caused by commit 166a24ae7748c6a5f724325950c7533a25597b1f…

    Adriaan van Os, Michael Van Canneyt
    3
  30. Compile fpc with llvm

    With success I have built and used an fpc-3.3.1 based LLVM compiler. The FPC LLVM Wiki <https://wiki.freepascal.org/LLVM> says that "the compiler itself on x86-64 is…

    Adriaan van Os, Jonas Maebe
    2