fpc-pascal
Subscribe to this list Your subscription
Latest threads
- SimpleRoundTo behaviour0
Is this a bug in fpc? (tested with 2.6.4) program test; {$ifdef fpc}{$mode objfpc}{$endif} {$H+} uses Classes, SysUtils, Math; var S: Single; E: Extended; D: Double;…
- lazarus not reachable16
Help: Would somebody from the USA and someone from Europe please run a tracert on their connection to: lazarus.freepascal.org. I am not able to reach anything lazarus…
- How to remove verbose compiler output23
I'm trying to reduce the compiler output for cron jobs. I have tried to specify -v0 or even -v- -v0 but still the compiler outputs loads of 'Hint' and 'Warning'…
- How do fpmake dependencies work??6
I'm trying to use fpmake for my own project which is built up of a couple of packages. The final application has a dependency on these packages. Which I have done like…
- Lazarus List0
Hello Anybody: I am on the Freepascal list, but I cannot subscribe to the lazarus list: *lists*.*lazarus*.freepascal.org/? since I cannot get to…
- Free pascal candidate for project of the month7
FYI: Free Pascal is candidate for SF project of the month april, up against strong candidates as subversion for windows (the server, not tortoise) and smplayer. Note…
- minigzip example does not compile (?)7
I also have a gzip related issue. I try to test with paszlib/examples/minigzip but the compiler gives : minigzip.pas(73,40) Error: Call by var for arg no. 2 has to match…
- From deflate to gzip4
I'm using gzip from Apache to compress my static files (like HTML, CSS, JS etc.), and it worked fine (http://imagebin.org/303024). But, to compress the CGI content, I'm…
- Access fpc libraries with Java ?21
Hello. I try to access fpc libraries with Java. I can access those libraries with: => Python without problems, even callback functions... => fpc programs, of course...…
- FPC 2.6.4 for GO3212
Maybe I'm doing something wrong but in the IDE from FPC 2.6.4 for GO32 is GDB missing. Always I get "No debugger support available". Thank you for your help. Lubomir…
- Enumeration type: FreePascal Vs. Delphi0
A project of mine was forked and adapted to Delphi by a programmer. Now we're working to join both branches. He did change the enumerations, he did use "=" instead of…
- Compiler and RTL unit tests2
A while back I read about how the Delphi community would like the internal Embarcadero unit tests (if they actually exist) be made public. As usual, Embarcadero didn't…
- Some articles on Lazarus/Free Pascal.6
Since many years I have been writing articles about Object Pascal (both in Delphi/Kylix and FPC/Lazarus), as well as some other things. These articles were published -…
- Only test0
Hi. Please discarcd. Just to check that I'm connected again. Antonio --- Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la…
- reference counting of multi-dimensional array1
If I have this: var a2: array of array of Integer; i, j: Integer; begin SetLength(a2, 3); for i := 0 to 2 do begin SetLength(a[i], 3); for j := 0 to 2 do a[i][j] := 1;…
- function mapping to array?1
Is the following possible: type TFunc=function(x: Double): Double; procedure apply(f: TFunc; var x: array of Double); var i: Integer; begin for i := 0 to Length(x) - 1…
- fpc in symlinked directory44
When I start fpc in a directory containing symlinks the compiler uses the resolved directory, leading to wrong source file names. For example: /tmp/orig/project1.pas…
- Error compile library on Linux.16
Hello. After successfully translate a useful unit into a universal library, i want to do the same with something bigger. I have compile that unit into a Windows library.…
- fpmake dependecies3
I'm playing again with fpmake and I struck an issue with it. Probably due to a wrong setup of my packages, but I cannot find a way to resolve it. I keep on getting the…
- Two "double" related question1
I am trying to convert an R program to pascal. Having 2 problems: 1. In R, ln(0) is -Inf (negative infinity) and ln(-1) is NaN, while in FPC (2.6.2), ln(0) is NaN, and…
- executeprocess help0
This enables a process eg an .exe to be run without using cmd (unlike exec) and if so, I'd like to use it. Can anyone provide one or two simple example lines for using…
- TSQLQuery.ApplyUpdates problem with UTF-815
Is TSQLQuery.AppleUpdate works with UTF8 string field content? I fetched a web page and extracted part of its content and appended it into TSQLQuery record's string…
- XMLWrite looses data4
I'm loading up a XSL file into a TXMLDocument using XMLRead. Up to this point everything seems to be ok, and I can query the DOMNodes without problem. If I then save…
- [ANN] Travel Lazarus Brook | REST | JSON0
[ANN] Travel Lazarus Brook | REST | JSON. It is with great pleasure that I bring this news to you. Received from a friend:…
- Bug in enumerators 2.6.411
Hi List. I think i have found a bug related to enumerators, overridden methods and forward declared classes. Please consider the code listed here:…
- struct definition in C8
What would be the equivalent of the following struct definition in C? typedef struct MyStruct { unsigned a :6; unsigned b :15; unsigned c:11; }MyStruct; I imagine this…
- fppoll/epoll examples/documentation2
This may seem crazy, but I cannot find any documentation or examples on fppoll( ) and the events member of TFdPoll structure. ALso, there is a epoll .*freepascal*.org…
- Ipc, start new process, shared memory0
Are there code snippets for starting a new process in the background and then communicate with that process via shared memory?
- Lazarus better than delphi6
I have been using Delphi 7 forever. I evaluated Delphi xe5 Update 2. Today, I use Lazarus 1.2 and FPC 2.6.2. Lazarus/FPC is just better than Delphi. All development on…
- THandle in code that must compile also with Delphi7
FileCreate and FileOpen return THandle with FPC but integer with Delphi2007. Delphi defines THandle as LongWord but for some reason Integer is used instead. With FPC on…
