fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Lessons from Thunderbird on sustaining an open source project1
I thought about FPC and Lazarus. Not all open source projects can use the same way to sustain themselves, but all open source projects that want to be sustained need a…
- unixsockets2
Hi, is unixsockets.pp in rtl-extra supposed to be included when fpc is built for linux? I ran 'find /usr/lib/fpc/ | grep unixsockets' and it returns nothing, also not in…
- pointer type as procedure arg1
Are anonymous (aka local) pointer types allowed in procedure arguments in any mode? procedure Run(p: ^word); begin end; I found that the fcl-passrc parser has a test to…
- Is there a recent change to TProcess?12
I am using ProgProcess to execute a program with data passed as parameters. I'm adding the parameters with this: ProgProcess := TProcess.Create(nil);…
- How to provide user supplied functionality for mkdir, chdir etc for freertos/esp-idf?1
How can I provide functionality for chdir, mkdir etc. ? The current implementation in freertos/sysdir.inc is hard coded with IO errors, is there a way to override the…
- How to compile program from command line on Linux?5
I have written a command line utility program on Linux using Lazarus as the IDE. This was done a while ago on an Ubuntu Desktop 20.04 machine, which I normally access…
- Procedural parameters19
Macpascal and Iso pascal have procedural parameters, e.g. function A( function B: double): double; Is there a $modeswitch to allow this ? I searched "procedure…
- FPC port to 9front1
Is there a port of fpc to 9front/Plan9? If not, is it possible to port it to that OS? Envoyé à partir de Outlook<http://aka.ms/weboutlook>
- Incremental compiling not working in new version14
I just noticed I didn’t update my compiler since 2023/03/03 and finally did so today. After making some required changes I noticed the compile times went down from…
- fpGUI issue on current FPC trunk0
I'm not sure if you saw this issue as is was buried in the middle of one of my emails when you were out. I tried compiling fpGUI with the current FPC trunk (downloaded a…
- freepascal lz4 library?3
TLDR; i'm looking for a (small?) Pascal library to handle lz4 data blocks contained inside a data file... i've looked for information on how to create and open blocks of…
- Printing unicode characters7
ChatGPT is saying I can print unicode scalars like that but i don’t see it works and no compiler warnings even. Did it make this up or did I do something wrong?…
- dlmopen on MacOS1
I have a shared library on MacOS written in FPC. It needs to be loaded multiple times, that is each time with its own set of global (dylib) variables. On Linux I would…
- 0
- Power operator fails in ordinal range definition5
This gives me "Error in type definition”. A bug? type TMyRec = record type T = 0..256**4; end; Ryan Joseph
- GetMem slow in threads1
I diagnosed a threading performance problem down to merely calling GetMem. I did a test and it was 4x slower to call GetMem on 8 threads (my computer core count) than…
- Namespace collisions1
In ObjectiveC we have the infamous namespace collision problem. I am wondering how this applies to Objective Pascal. For example, I have a plugin, written in Pascal,…
- Managed record types3
when I make a record type managed by adding an `Initialize` operator according to [1], can I rely on the record being initialized at the beginning of a function in which…
- Separate debug info for release builds7
When I add -Xg, the compiler writes the debug info into a separate .dbg file and adds a .gnu_debuglink section so the debugger can find the info. So far so good (and…
- type helpers in trunk3
Has something changed for type helpers in fpc trunk ? I don 't see a note of it in <https://wiki.freepascal.org/User_Changes_Trunk>. I have code that compiles with…
- Generic type helper1
a quick question: how do I define a generic type helper? Example: type generic TArray<T> = array of T; type generic TArrayHelper<T> = type helper for TArray function…
- Understanding error messages in static linking2
I am trying to statically link OpenSSL. I'm using the Win64 full installer from https://slproweb.com/products/Win32OpenSSL.html which includes precopmiled static…
- Library packages2
Can someone tell me what the status is of Library packages, aka "Delphi packages" ? I found the WIki <https://wiki.freepascal.org/packages> but it looks like a…
- docs8
Apropos the new users discussion, i think the state of the docs is really important, new users can be discouraged by lack of documentation or up-to-date docs. I just…
- How do I pass a call back Class and its method to an external library *.so file writting in C++3
I am given an API linux library *.so file written in C++. It was expected to be consume by a program written in C++. However, I would like to write such a program in…
- question on docs4
I’m a little confused by some references in the docs. Hopefully I can explain it clearly. Looking at TFPGList in fgl. The Sort method refers to a TCompareFunc (it does…
- linker warning0
An FYI for the compiler team I suppose. I got the following warning: Free Pascal Compiler version 3.2.2 [2023/09/18] for aarch64 Copyright (c) 1993-2021 by Florian…
- Funding for FOSS projects, needs funding.json file in Gitlab2
15 Oct news at Hacker News: https://floss.fund/blog/announcing-floss-fund/ They pay 1M $ per year, all FPC needs to apply is the funding.json in the repo. And then…
- Re: Lazarus server under DDOS1
Note: As a consequence, the GitHub Action https://github.com/gcarreno/setup-lazarus also fails now. Trying to use it to install FPC+Lazarus results in an error Error:…
- Functions for dealing with floating-point precision1
in my program I have need for checking floating-point precision. I'm internally using floating-points for calculations, but in the end I have to use integer numbers. I…
