fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Changes in fcl-web11
Where do these methods go? protected function TCustWebApplication.WaitForRequest(out ARequest : TRequest; out AResponse : TResponse) : boolean; protected procedure…
- setting variables with DWARF in gdb12
When I compile an FPC program for debug with DWARF symbols, GDB seemingly ignores my commands to set variables or registers when debugging: With STABS (or whatever the…
- Makefile.fpc and packages dependencies0
I try to understand how Makefile.fpc work on indy project, I read "using fpcmake" in freepascal "Programmer's guide" but I am out of luck: I have two directories at the…
- Leak narrowed down5
I have narrowed the leak down. It's not in FPC. It's in the LCL or most likely in the Carbon interface. It leaks memory outside of the FPC heap. Probably some CFStrings…
- detecting c's calling convention4
I'm going to bind a SIP library called sofia-sip<http://sofia-sip.sourceforge.net/>, it is an open source (LGPL) cross platform SIP library from Nokia. Because the…
- Troubles with overloaded operators1
Hi together! I'm currently wrapping V4L2 in an object oriented way and thought that I could use operator overloading to convert flag ordinals to Pascal sets. My operator…
- Widestring memory leaks with FPC 2.4.0?18
I'm using FPC 2.4.0 on Mac and I have a problem with WideString memory leaks. Is there any known issue, such that temporary WideStrings are not always freed, or any bug…
- Cross-compiling with FPC 2.5.19
I use the scripts buildcrossbinutils.sh and buildcrosssnapshot.sh to buils the FPC 2.4.2 cross compiler (linux to win32). However when I do the same steps but with FPC…
- Full text scan - PDF files1
I need to do a full text scan in PDF files i.e. convert PDF in plain text, parser and save the informations. I saw the XPDF[1] lib but I would like a lib coded in…
- SIP library0
I'm looking for any existed open source binding for FPC regarding SIP protocol (or even better a stable SIP implementation in Pascal). Does any one know of such binding…
- Re: A bug in documentation?1
You are correct. I will correct this. Michael.
- Range checking in a for loop5
Consider the following program: program test; var a: array [1..3] of Integer; i: Integer; begin for i := 1 to 4 do a[i] := i; end. The compiler will accept this code…
- Heaptrc with symbolic stack trace or map file on Mac OS X ?1
I'm trying to find a memory leak but I am unable to get a symbolic stack trace from the heaptrc dump. Also the option -Xm does not generate a map file on Mac OS X. Or at…
- GetTempFileName in Linux43
Hi, if I run this program from command line in Linux, I allways get the same result, "/tmp/TMP00000.tmp". Shouldn't it return a different file name each time it's…
- negative numbers in CurrHeapUsed and MaxHeapUsed4
Does anybody know what has become of this: http://free-pascal-general.1045716.n5.nabble.com/TFPCHeapStatus-miscalculations-in-2-3-1-td2824362.html I am currently…
- PostgreSQL 8.4 Ubuntu 10.10 x645
I've got a problem with the PostgreSQL component. I've got an insert statement with int64 values. The prepare command goes through but the server denies the entire…
- Precision of timestamp values.2
How accurate can a timestamp be calculated in FreePascal? Is the the Now() function accurate to more than a millisecond? Frank Church =======================…
- Can variables be declared within a block?30
Can variables be declared within a begin end block? eg. if y = xxx then begin var xxx; var yyy; end There are there as shortnames for long expressions Frank Church…
- Posting to the list via GMAIL7
I have successfully contacted the maintainer of the GMANE news server in order to fix a problem with the Lazarus mail list mirror at gmane.comp.ide.lazarus.general When…
- Building FPC with debug information8
I was reading on building FPC with debug enabled so I can trace into a unit and found that it was way too difficult to find the parameters. I know I had at one time…
- Real length of WideString6
How to get the real length of WideString variable. Thanks in advance. Zaher Dirkey
- 1
- What are the issues involved in threads sharing variables?2
I am writing an app involving 2 threads, and a timer loop in the UI. The first thread monitors network events, logs them into a database, appends them to a list. The…
- non visual timer win323
Guys i have an app on win32 that runs a timer when a form is hidden , any ideas how i get a timer to work when the form is hidden ? Kind Regards Delphian
- ReadStr/WriteStr vs Val/Str2
As a user of the old Macintosh Pascal (later THINK Pascal), both ReadStr and WriteStr functions were included and I used them quite a bit. The names were different…
- FPC for High Performance Computing (HPC) Components with Application API11
I wanted to start a discussion based on current state of FPC and High Performance Computing (HPC). The premise of the thread is to discuss high scale threads. Currently…
- TR: Strange Behaviour of TBits2
Hello I found a strange behaviour of TBits. Example : procedure TForm1.Button1Click(Sender: TObject); var x:TBits; begin x:=TBits.Create(); x[0] := true;…
- Problem accessing Class Method with abstraction5
I've got a class factory problem I'm trying to resolve and it appears I'm at a point where it's probably better to ask for help. TCoreObjects=class; TCoreObject=Class…
- Re: TInterfacedObject memory management3
In our previous episode, Juha Manninen (gmail) said: io: IUnknown; Try the above program. Yes you understood it wrong. The interface references are reference counted,…
- Multi-threaded project with few locks (no Thread.waitfor). Memory consumption keeps increasing on Ubuntu 10.10 x6481
After reading up on multi-core systems and memory barriers I decided to do a few FPC stress tests with a brand new 6 core x64. I tested this app on Ubuntu 10.10 x64…
