fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Linking object file4
I was wondering if it's possible to link FPC object files by using the $Link directive? At least I have troubles in getting this to work and therefore I'm asking here.…
- Cloning objects?4
Is there a drop-dead simple way to clone an object? I've got a small tree of classes (tBaseProfile, and four descendants of such). Only the descendant classes are…
- Searching Text Files3
I'm writing a little personal program in Lazarus that manages pdf files. One of the things I want to do is search for text/phrases within the pdfs. Has anybody tried to…
- Dynamic array initialization1
Hello list! Are dynamic arrays initialized with nil after the setlength call? Doc[1] doesn't say a word about that and my tests say yes, they are initialized with nil.…
- RTL debuginfo on GDB 7.4+ and OSX Mavericks5
Hello list. I've just upgraded to OSX Mavericks. GDB is no longer installed with xcode5 so I downloaded, compiled and installed GDB 7.6.2 myself. I can debug my own…
- Library.StringFunction() : PChar => NO14
Hello great fpc people. It is about functions dealing with string inside a library... If i use that kind of function inside the library : It will be the memory manager…
- dynamic array reference count4
I just want to confirm one thing: var a, b: array of Integer; begin SetLength(a, 100); SetLength(b, 100); a := b; end. Now "a" will point to the same memory block as…
- nested inline3
Is nested inline allowed? i.e. will the compiler generate inlined code for the following source: procedure a; inline; begin end; procedure b; inline; begin a; end; if I…
- procedure modifiers1
I wonder where should I put procedure modifiers, in the interface section, or implementation section, or both? e.g. interface function test(data: Integer): Integer;…
- Installer (2.6.4 win32) and path issues5
I installed 2.6.4 for win32. I removed the 2.6.4rc1 installation. After that I wanted to rebuild Lazarus, so I did a "make clean all" in Lazarus dir, but got only errors.
- TProcess on windows: incompatibility between poUsePipes and InheritHandles:=false4
In order to use poUsePipes, InheritHandles must be true (see http://msdn.microsoft.com/en-us/library/windows/desktop/ms686331%28v=vs.85%29.aspx) This is a limitation of…
- Elegant way to switch sort mechanism in TSortedCollection?11
I'm working on a project that utilizes a TSortedCollection to help keep items sorted during processing. There is a need to re-sort the collection by different criteria…
- Request for help0
I'm helping the editor of Blaise Pascal magazine to develop some components for Lazarus & Delphi (for the Leap Motion). We need someone with experience in 3D-rendering…
- $LINKLIB MSVCRT on windows/osx11
Hey: Has anybody got a clue how to statically link the windows c run time with lazarus/freepascal on Windows 7/8 x32 or x64? , there are all sorts of references to…
- FPC 2.6.4 release!2
Finally, FPC 2.6.4 has landed. FPC 2.6.4 is an update to 2.6.2 and 2.6.0 that contains most library progress over the 2.6.2. It will probably conclude the 2.6.x branch.…
- Freepascal on OSX 10.9 Mavericks $LINKLIB gcc broken11
Now that OSX Mavericks 10.9 is running full speed, it has broken the {$LINKLIB gcc} compiler directive. {$LINKLIB c} still WORKS. But {$LINKLIB gcc} does not. The reason…
- FPC for ARMv45
Hi I have a board running Linux - it reports itself as armv4tl: uname -a Linux phidgetsbc 3.1.6 #3 PREEMPT Fri Jan 6 13:05:50 MST 2012 armv4tl GNU/Linux cat /etc/issue…
- Shared memory on various OSes2
When a DLL/so is loaded dynamically by multiple program instances, are globals shared or would this require explicit use of OS-level shared memory? The application is…
- Mantis maintenance0
Not sure, if Mantis is maintained by FPC or Lazarus team (or actually either. I've provided a plugin for it to preserve backtrace formatting.…
- DBF components are maintained now3
Just wanted to let you know about http://wiki.lazarus.freepascal.org/User_Changes_Trunk#TDBF_unit_deprecation_removed Currently I'm adding test cases to dbtestframework…
- (no subject)3
Hello, guys! Firstly, thank you for such a great project! It's very nice to use it in a study process in a school/university. And now a question :) I have some trouble…
- For Slackware users0
I wrote some scripts to convert FPC & Lazarus binaries to Slackware packages. If you're interested you can find them to…
- Mirror empty5
The fpc mirror http://www.hu.freepascal.org/ is empty. Who is responsible for it? Mattias
- Generic String Functions29
What is the relation between Generic Functions and (static) DXE String encoding schemes ? Can you (e.g.) do a (silly) Generic Function that takes two strings of any (but…
- Lazarus 1.2 Release0
The Lazarus team is glad to announce the release of Lazarus 1.2. This release was built with fpc 2.6.2. Here is the list of changes for Lazarus and Free Pascal:…
- A linking error in a SDL example2
A friend ask me about the audio playing with SDL. I tried to do an example. As I use Linux, with the following command, I consider all packages neeeded would be…
- License change for UPasConf, GContnrs, CmdLine & data2pas0
As I said last week in the "Announces & License question" discussion, I have released new versions of UPasConf, GContnrs, CmdLine and data2pas. No new functionality,…
- Parsing Smalltalk-style numbers0
Does anybody have any Pascal code to hand which will parse Smalltalk-style numbers, i.e. written with an explicit radix indicator? For example, 8r34.1 (octal) parses to…
- Spurious SIGSEGV on ARMHF with application compiled with fpc trunk2
fpc trunk r26906, cross compiled fpcup for ARMHF; running on Odroid U3 Xubuntu; ran under gdb: fpcup stops with a SIGSEGV: ... fpcup: info: Created launcher script for…
- Enum scope5
The FPC stable version allow to declare a new type, as private/protected/public, inside a class. So, I propose migrate enums to your "own" classes... why? Well, I have…
