fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Language server extension for VSCode0
I finally figured out how to get the Visual Studio Code extension working for the language server. Does anyone want to test? I added some very brief instructions but…
- Null values with JSON RPC14
I'm trying to get the pascal language server working on Visual Studio Code and during testing I found that sending null values to the server is causing problems. i.e.:…
- FP wiki shows bad picture sizes0
Picture at https://wiki.freepascal.org/CudaText#Lexers and at https://wiki.freepascal.org/CudaText#Lexers_editing both shown with wrong sizes -- left from old picture …
- Strange "Undefined symbol" error in FPC 3.2.05
Hi! I have pretty large program which compiles and runs fine with FPC 3.0.2, but if I try to compile it with FPC 3.2.0 (win32, i386, downloaded installer here…
- Lazarus 2.0.10 FPC 3.2.0 TFPHTTPClient no longer supports https10
After upgrading to Lazarus 2.0.10 FPC 3.2.0 , my existing code using TFPHTTPClient.Get('https://api.telegram.org/bot') returns the error "No SSL Socket support compiled…
- Command Line compiler1
I've encountered a problem with the command line version of the compiler for OS/2. It only appears to occur when the compiler attempts to recompile sub-units and the…
- YAML parser1
Is there any YAML parser that exists for FPC? Couldn't seem to find one despite YAML being a pretty popular format. Ryan Joseph
- macOS linker error ld: framework not found CoreImage2
I am mainly working on MacOS 10.10 (Yosemite). After updating from FPC 3.0.4 to 3.2.0, and Lazarus from 2.0.4 to 2.0.10, I now get this linker error: ld: framework not…
- Worse performance with 64bit binary3
I cannot show the real application but attached a simple example. If compile with 3.2.0 "ppc386.exe -O3 test.pas" the execution time of the resulting example binary is…
- Is there a FindAllDirs command like FindAllFiles?3
I am using FindAllFiles() in order to enumerate the files of a certain name pattern in a FPC application on Linux. I am using Fpc 3.0.4 and Lazarus 2.0.8. FindAllFiles()…
- Getting size of file without opening it?2
I am using FindAllFiles in order to list the files in a directory and it works fine. But I also need the size and timestamp of the file so I searched the net for it.…
- CrossPlatform problem, INFINITE not defined on Linux9
I am porting an old application from Delphi to Lazarus and Windows to Linux. This application has a unit ExecWait, which was created to simplify running tool programs…
- FPC 3.2.1 gdeque Erase(0) hangs forever0
CudaText for linux x64. gdeque (fcl-stl) method Erase(0) (list has single item) hangs. I made workaround- replaced Erase(i) with Clear (erase all items). deque items -…
- TProcess doc page bugs4
https://www.freepascal.org/docs-html/current/fcl/process/tprocess.readinputstream.html a) it has 2 sections "Arguments" (mixed with "Func result")- pls make nicer output:
- Lazarus Release 2.0.100
The Lazarus team is glad to announce the release of Lazarus 2.0.10. This release was built with FPC 3.2.0. The previous release Lazarus 2.0.8 was built with FPC 3.0.4.…
- What happens when assigning interfaces?5
Given the code below and the 2 cases can anyone explain what exactly the compiler does when the interfaces are assigned to? Does it copy a record like structure, call…
- Copying a file across IP using Free Pascal2
Is there a Pascal Procedure, Function or Object that can copy a file across an IP Network. I have tried executing scp with TProcess, but that did not work. Terry
- Writeln() behaves differently on Windows and Linux, why?16
I am writing a cross-platform program (console program, no GUI). I am using Lazarus 2.0.8 and FPC 3.0.4 on both Linux and Windows. During sebugging I have put numerous…
- fpDebug function-call proof-of-concept8
Last weekend I started on the ability to evaluate functions within fpDebug. And I got quite far. It is a proof-of-concept, still needs a lot of work. But it works! See…
- LongInt and LongWord types2
Delphi's LongInt and LongWord are 32 bits on Windows, but 64 bits on supported Posix platforms( http://docwiki.embarcadero.com/RADStudio/Rio/en/Simple_Types_(Delphi)),…
- Re: fpc-pascal Digest, Vol 193, Issue 23
Montag ab 12.00? DETLEF D. OVERBEEK WITH KIND REGARDS, MED VENLIG HILSEN, MET VRIENDELIJKE GROET, CORDIALEMENT, CORDIALI SALUTI, LE SALUDA ATENTAMENTE, MIT FREUNDLICHEN…
- FPC for Win649
L.S. I like to use the 64 bits FPC compiler, but I cannot find any documentation how to use it. I see a WIN32 compiler and a WIN64 cross compiler. How it works is a…
- Codetools, identity nodes from includes3
Currently I walk the node tree for a given unit and collect all the relevant symbols into a list which represents the symbols in the current document. I'm running into…
- TProcess.CurrentDirectory doc4
https://lazarus-ccr.sourceforge.io/docs/fcl/process/tprocess.currentdirectory.html CurrentDirectory specifies the working directory of the newly started process.Changing…
- TProcessUTF8 doc - 23
a) https://lazarus-ccr.sourceforge.io/docs/lazutils/utf8process/tprocessutf8.html here we have 2-3 items depre - ApplicationName, CommandLine. but list shows no special…
- CodeTools reduce number of completions5
I'm using CodeToolBoss.GatherIdentifiers to get completions but with some units I'm getting 50k identifiers which is simply too much and too slow. Maybe of these are…
- how to make this tp7 code work on fpc5
I'm porting some code from tp7 to fpc, and I'm running into an error I don't know how to fix. The comments claim it's supposed to be a hash table, but to me, it looks…
- Codetools generic constants3
I got the Lazarus sources on svn and I'm not sure how to make a diff! Here are changes I propose to allow generic constants (I believe this is Mattias's code so he'll…
- FPC 3.2.0 released!9
Finally, the Free Pascal 3.2.0 release is available from our servers and from sourceforge. Changes that may break backwards compatibility will be documented at:…
- Database migration7
After spending the last 12 months working intensively on a PHP based project, I moved back to FPC once again for another project. One of the more interesting concepts…
