fpc-devel
Subscribe to this list Your subscription
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
- Another "bug or feature" type alias1
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…
- wiki down0
Any progress in bringing the wiki up and running? Why is it taking so long? Is there a mirror site somewhere?
- fpc tests - question0
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…
- bug or feature? type alias1
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…
- Questions on RTTI2
Can someone check the below statements for correctness please? --------------------------------------------------- - A class itself has always some RTTI of its own.…
- Error building FPC main in Fedora 44 ("read-only segment has dynamic relocations", in linking pas2js)1
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: (...)…
- composed record with private/public => documented behaviour?1
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,…
- published versus advanced rtti2
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…
- Fwd: New Issue: Accessibility Declarations for FreePascal4
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…
- Val() behaviour in a function depends on LongStrings ON/OFF?5
This is driving me crazy. Val('256', AByte, Code) should fail. It does, but sometimes it does not. =========== uses sysutils; {$PUSH} {$R+} function…
- Feedback please - semantics of private vs strict private1
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…
- Currency update2
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…
- TStrings.IndexOf(String, Integer) question2
TStrings has - function IndexOf(const S: string): Integer; virtual; - function IndexOf(const S: string; aStart : Integer): Integer; virtual; TStringList has - function…
- stat and nil1
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…
- Merge requests0
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…
- private visibility question1
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…
- is not operator44
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…
- TViHashList and TFPHashObjectList in compiler3
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…
- Internal error 41791
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.…
- TDirectory.Delete(SomePath, True) possibly silenty deletes the contents of symlinks/junctions2
On Lazarus there has been a bugreport that DeleteDirectory follows symlinks and unexpectedly removes their contents instead of just deleting the symlink (or junction).…
- fixed bug in crosscompiling not available in fpc 3.2.x0
The following fix is not included in the last release candidate and it causes problems when using cross compiling (compile from win64 for linux).…
- Subject: six issues from a native aarch64-win64 port (three of them not target specific)6
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…
- ppcrossx64 build on macOS darwin with ppca64 is failing6
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…
- Invalid vTypeInfo pointer for _VMT_$SYSUTILS$_$TMARSHALLER0
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…
- Consideration on "$CapturerClass" - reference to function - and debugging3
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…
- Does 3.2.3 still support Windows XP ?10
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:…
- CORBA and GUID => changes?5
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…
- -ix1
The -ix option has no entry in ppc... -h. How does it work? Mattias
- Mode macpas macros are broken3
I looked at issue #41731 <https://gitlab.com/freepascal.org/fpc/source/-/work_items/41731> and found that it is caused by commit 166a24ae7748c6a5f724325950c7533a25597b1f…
- Compile fpc with llvm2
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…
