fpc-pascal
Subscribe to this list Your subscription
Latest threads
- collection memory usage...3
i'm trying to figure out the best numbers to use for setting up a sorted collection... i'm just not understanding the numbers i'm getting from the heapdump unit at the…
- New FPCUnit db results writer: testdbwriter: request for... testing5
I've been working on a listener for FPCUnit that writes test results to a database. I intend to use it to run e.g. database tests on my Jenkins CI server whenever a new…
- releasing commercial components as PPU files18
Many Delphi components are sold as "full source code", or slightly cheaper (or as trial) as compiled *.DCU files for a specific Delphi version. Could this work with FPC…
- Subversion Client/Server Source6
I'm exploring the possibility adding support for version control in the Aurawin project. I'm needing resources to subversion client/server source to estimate how much…
- Failed cross compilation5
I am able to compile FPC 2.6.1 (rev 22778) under Ubuntu 11.04 32 bits. However cross compiling to win32 fails with the error: /usr/bin/ld: cannot find -lgcc I was able…
- Seems Delphi is moving to Java-style primitive types5
Well, kind-of... I don't know if C# also supports this (like Java). It probably does, because for the last few years, Delphi has just been copying whatever is in C#.…
- fpmake compiles the same unit multiple times4
I'm using FPC 2.6.0 and have a fpmake.pas program for fpGUI. To be honest I don't really use it, but to keep it up to date. Anyway, I noticed that if I do a 'fpmake…
- fphttpclient close connection?2
i've noted that fphttpclient has a DefaultTimeout of 15 minutes... how can i close the connection after all data is received? the server is configured to keep-alive.…
- set useragent in fphttpclient?2
how do i set the useragent field in a client built with fphttpclient? i'm starting with the example "httpget" and then moving on from there... i've tried various WAGs…
- Problems with valgrind3
I'm trying to use valgrind for the first time seriously to profile my app. See output from console below; Darius-Blaszyks-Mac-mini:fileio dariusblaszyk$ fpc -gv fileio.pp
- Memory alignment with FPC20
Does FPC ensure the same memory alignment for records and objects over different platforms? If I want to be sure to have the same alignment must I use packed (with…
- For Dimitrios Chr. Ioannidis: no fpc 2.6.1 seg fault loading dblib2
Responding to [fpc-devel] fpc 2.6.1 seg fault loading dblib as I think the subject is more appropriate to the fpc list.... (and I haven't subscribed to fpc-devel): Works…
- Make distclean for X64 windows?3
After r22621 I decided to test make distclean. In my fpc directory, I have both i386_win32 and x64_win64 ppu units. Using make distclean, the i386 ppus seemed to have…
- Lazarus 1.0.2 Release0
The Lazarus team is glad to announce the release of Lazarus 1.0.2. This is a bug fix release. Here is the list of changes:…
- creating msgpack port to Pascal0
I've started working on porting msgpack (messagepack.org) to native FreePascal code: (https://github.com/ik5/fp-msgpack). If you do not know it, then it's a way to move…
- windres not required/provided by Debian 2.6.0 FPC6
While getting a Jenkins continuous integration server going.... On Debian 6 (Squeeze), I installed just enough packages to get a compiler and get a compile job going…
- Running FPC on a system that supports multiple architectures8
This is an "out of interest" question rather than being particularly important. I've managed to get my hands on an Itanium-based system for my collection, and find that…
- FPC-2.6.1 daily build for Ubuntu Precise and Quantal, i386 and amd640
I have set up a daily build of latest 2.6.1: https://code.launchpad.net/~prof7bit/+archive/fpc-2.6-latest ppa:prof7bit/fpc-2.6-latest (should update automatically from…
- Replacing line in big text file4
I must modify some one line (mostly first line) in big text file (~10 000 lines). Doing this by loading and saving file using TStringList takes a long time (and amount…
- bunxh.inc(24, 52) Fatal: Syntax error, ":" expected but "identifier NSET" found8
I'm trying to build current 2.6.1 on Ubuntu Precise with build-dependency fpc-2.4.4 (because there exist no later version of fpc in precise) and gettting this error:…
- TListBox, scroll horizontally1
Is there a way to let the user shift the content of a TListBox horizontally so that he can view the part of long strings that is clipped on the right? If the number of…
- Getting a resource file in the proper FPC directory: makefiles etc?2
Developing my database listener for fpcunit, I see 2 locations where the ppu files end up: <fpc>\packages\fcl-fpcunit\units\i386-win32\dbreporter.ppu…
- Using database-specific functionality with TSQLConnector3
For a fpcunit database test listener I'm implementing multi-connector support using TSQLConnector. This seems to work nicely. If the Firebird connector is chosen and the…
- libusb header translation and OOP wrapper18
Hi! Some time ago somebody asked about USB support. I've now finished the libusb 1.0 header translation and object-oriented wrapper. Please find them at…
- using macros6
I need to translate this: #define mymalloc(x,y) (x*)malloc((y)* sizeof(x)) Is it possible using macro's in FPC or do I need to convert it to a procedure? How would I…
- CThreads for linked C library?1
Hi! libusb(x) links to libpthread: $ ldd /lib/x86_64-linux-gnu/libusb-1.0.so.0 linux-vdso.so.1 => librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 libpthread.so.0 =>…
- Editing XMP data in images3
I need to edit XMP data in images (at least tif, jpg). Maybe someone has already done it and can give me a hint? Mattias
- Help translate .SAVENV x86-64 assembly directive0
I'm translating porting a Delphi component that uses x86-64 assembly. So far, most of the asm code compiles and works fine. The only thing that i could not translate is…
- Assigning pointer address10
I want to ask if casting an integer to a pointer is valid over all platforms. See below: p: PInteger; v: longint; [...] v := 4235423; p := PInteger(v); Of course, the…
- DOM, XMLRead, XMLWrite - cwstring requirement8
Somebody in the fpGUI support newsgroup raised an issue when using BOM, XMLRead units under Linux. Does the use of the DOM, XMLRead and XMLWrite units in FCL (from FPC…
