fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Meego Harmattan (Nokia N9) and fpc1
Successfully created cross arm with 2.4.5 (console apps works fine on this device), but have problems with lazarus projects.…
- Darwin i386 socket polling4
I'm needing to figure out how socket signaling mechanisms work under darwin. Windows and Linux work, Darwin however does not support ePoll. Anyone have any experience…
- FPC for ARM15
Hi Is FPC 2.2.2 really the latest native release for ARM processors? I guess it can build the more recent versions. (?) In school we have an interesting project…
- Contributed units on freepascal site7
The contributed unit section on the freepascal site does not work anymore. Can someone please have a look and fix this? Is there an alternative link available? Regards,…
- Timer in X1136
Does anyone know what would be the solution for implementing timer support in a X11 toolkit? I already have TTimer support implemented for LCL-CustomDrawn-Windows, Cocoa…
- inline and other modifiers7
I have the following: unit foo; {$mode objfpc}{$H+} interface uses foobar; function BitCnt(ABitmap: TBitBoard): Integer; implementation {$ifdef cpu386} function…
- alias a function + overload 'in'9
two little questions 1. Is it possible to make an alias to a function ... so rather than just re-calling with the same parameters, it's actually the same thing? like the…
- FpGetRLimit and FpSetRLimit reference an undefined symbol3
When I attempt to use fpgetrlimit and fpsetrlimit from the baseunix unit (see http://www.freepascal.org/docs-html/rtl/baseunix/fpgetrlimit.html and …
- Testing applications with FPCUnit17
Navigating in FPC source codes, I found fpcunit. It's really wonderful. With the tTestCase class, we can generate a report with the success or the failure of our tests.…
- debian control files for fpc4
I'd like to roll my own fpc-2.4.4 .deb for in-house development The lazarus sources seem to include a debian directory with all the control files, which is wonderful!…
- News from MSEide+MSEgui2
MSEide+MSEgui 2.8rc1 for FPC 2.6 has been released: http://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/2.8rc1/ There is also a new beta for MSEgit:…
- possible json parser memory leak6
I'm using FPC 2.6 (rc) x86_64 on Linux with JSONParser. I've written the following code: ----------------------- uses fpjson, jsonparser, SysUtils, classes; var parser …
- Memory leak5
While dabbling with pointers, I came across a memleak for which I don't understand why it happens. Hopefully someone can help me with it. mytest^.name :=…
- Generics and Mac3
I used generics in Lazarus code base for the first time, in TreeFilter component: TTreeNodeList = specialize TFPGList<TTreeNode>; and TBranchList = specialize…
- JSON Dataset in FCL-DB.8
I just committed a JSON dataset in fcl-db. This is a dataset which stores its data in JSON objects (as in fpjson) in memory. The records are in a JSON array, each record…
- initializing pointer values3
On implementing a linked list I hit to some unexpected (doesn't mean incorrect though) behaviour. ptest = ^test; test = record p: pointer; end; new(mytest); When I…
- CPU registers and function calls, unclear explanation in the docs2
The programmer's guide says in chapter 6.3 that when using "register" convention then it does not save any registers. A very old version of this document even said…
- Distributing unit object files2
I'm needing to figure out how best to "close" or "seal" units so that I can use the compiled unit object files instead of the actual unit files. The problem is that the…
- Re: How to poll for a byte in Input?3
Thank you very much. I will try your approach, as I'm interested in the piping. I also did some experimenting with SetConsoleMode, and also with SetFileAttributes, and…
- PPU checksum issue5
I'm trying to rebuild Lazarus with some components, and having the following error message on an FPC based unit: PPU Loading…
- nostackframe -- possible to create faulty code?4
Is it thoretically possible to make an otherwise perfectly working program crash with access violation only because I used the nostackframe modifier on a nested…
- UTF-16 strings0
When targeting not-Windows (i.e. predominantly Linux but possibly other unixes) and wanting to do character-by-character parsing of 16-bit Unicode characters, what's the…
- Shared libries16
Hi. I'm trying to create a shared library (under linux) and I not sure what the difference between the modifier *export* and the section *exports* is? Or perhaps when to…
- Sorting an open unidimensional array2
I want to sort an open unidimensional array of integers from the minimum to the maximum and from the maximum to the minimum. Is there a standard unit providing this kind…
- IInterface type value and the "as" keyword2
after a long pause I'm trying to revive some code which I didn't touch as long as early this year. At that time it compiled OK with trunk FPC (I believe version 2.5.1).…
- "Free Pascal Programmer's Guide" - where is the latest version?5
This document: http://www.freepascal.org/docs-html/prog/prog.html is for the stable version 2.4 Does anybody know where I can find the development version of it (2.5.1…
- CloseThread needed? still unclear5
While testing an updated version of nYume (aservia) I found that the program is leaking thread handles on Ms Windows. The program uses BeginThread and EndThread calls.…
- Fatal: Internal error 200109227... and some boolean questions1
Linux/i386, 2_6 branch var a : QWord; x : QWordBool; y : QWordBool; begin a := QWord($ffff000000000000); x := QWordBool(a); y := not x; fpwinglet.lpr(21,3) Fatal:…
- Readline substitute8
Hi! I want to equip a program with a command line and therefore want a powerful and user-friendly input prompt. Currently I use ReadLn(CmdLine); which is not as…
- Re: How to poll for a byte in Input?2
I have found and tried WaitForSingleObject, using the following syntax: ThereIsACharacterToRead := WaitForSingleObject(StdInputHandle,0) = 0; While…
