fpc-pascal · 2020-07
- FPC buildbot5
I was looking for the sources of a buildbot suitable for an FPC project. I would like to keep it as simple as possible, so no webserver hassle for instance. Just simply…
- 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…
- 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…
