fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Object constructor5
Could anyone please explain this: 5.4 Constructors and destructors <http://www.freepascal.org/docs-html/ref/ref.html#QQ2-64-77> As can be seen in the syntax diagram for…
- fpc 2.6.3 building i386 crosscompiler fails1
Hi! Tried to build the current svn of FPC 2.6.3 (svn Revision 25507) on my Linux X86_64-box. I did: make distclean make all FPC=<Current2.6.3Compiler> sudo make install…
- Parser bug or what?4
Can anybody tell me whether I stepped on a bug or I am just forgetting some Set / Enum property? I made a Set to iterate with For..in, but I accidentally used a Dot…
- Get empty memory quickly or... an empty file9
I'm working on implementing zip64 support and trying to test things by compressing large files or streams using FPC's zip code. Currently using this to get a huge…
- returning a generic object?5
I have this generic class: type generic TTree<T> = class private FItems: TList; ... ... public Data: T; ... ... function FirstChild: TTree; ... ... end; function…
- DoDirSeparators and special filenames on Windows41
This is a folowup off a discussion in LazarusDev mailinglist. It concerns "sanitizing" filenames on the Windows platform. The Windows API for handling filenames in most…
- weird compile error message8
Could anyone explain the error in attached image? Thanks a lot.
- TMemoField saving empty strings as '' (double quote)18
I'm trying to save an empty string in a TMemoField, but it always saves a double quote ('') instead. Attached a small example to reproduce the error. My environment:…
- TObject and @TObject (are objects pointers?)1
I am writing a Tree class which have the following skeleton: generic TTree<T> = class private FItems: TList; public ... end; The FItems variable is used to store…
- IFPObserved6
Where can I find detailed documentation on IFPObserved? This page only defines the interface but not telling about the purpose of this interface:…
- Database parameter trouble in insert query1
An application needs to dump output into a (file-based for now) database (like MS Access, Firebird embedded, sqlite), Excel, CSV file etc. FPC trunk, x86 and x64,…
- Breaking Pascal source lines8
I'm sure there isn't a single "right" answer to this question, but if transferring Pascal source to a system that enforces short lines (e.g. 78 chars + CRLF) what's the…
- PostgreSQL: ERROR: operator does not exists: uuid = text6
I can't understand how to open a query filtering by a field of type GUID. The error message is below (translated from BR to US): TPQConnection: Preparation of query…
- Could not set breakpoint2
I am running v2.4.4. I get "could not set breakpoint messages" on ordinary lines of code. What causes this? How do I fix it? Thanks.
- Runtime error 217 on array of Variant2
I would like to use TVarRec as Variants, after some googling I found this: http://stackoverflow.com/questions/3733640/how-to-convert-between-tvarrec-and-variant However,…
- IPC - Persistent Objects - Triplestore1
Does anybody know the best support in Pascal for an RDF triplestore? Is there one written in Pascal? I'm interested in Pascal's interprocess communication (IPC), in…
- procedure that accept generic types?5
I try to write a procedure with generic parameters, but failed: type generic TArray<T> = array of T; procedure ProcessArray(arr: TArray<T>); begin end; The compiler said…
- [PATCH] Fix for trunk compilation error after 25403/stringlist fix0
Trunk didn't compile... probably forgotten diff? Diff in mantis http://bugs.freepascal.org/view.php?id=24949 fixed it for me. Reinier
- embedded HTTP server in GUI application5
Can anybody make recommendations for embedding a HTTP Server into a GUI application? ps: I'm using FPC 2.6.2, and the end result application will run under Windows…
- ExtractFilePath and \ as pathdelim2
ExtractFilePath and ExtractFileDir stops at last '/','\', so it treats the normal character \ as path delimiter under Unix. Is there a RTL function that handles the \…
- ExpandFileName failure on long filenames on Linux16
Before reporting this as a bug, can somebody confirm? program efn; uses sysutils; begin writeln(expandfilename(paramstr(1))); end. If I cd to a directory with a very…
- How to clear the value of a field in a table using parameters?15
I'm trying to do something with a dataset, but I think that isn't possible. Assuming I have the following table: create table users ( id serial not null primary key,…
- what compiler is needed to build a 2.7.1 cross-somewhere compiler1
Ok, if I want to build a 2.7.1 cross-arm-wince (or any other cross), then I first need a native fpc (in my case a win32-i386) Does the native compiler have to be (or…
- has anyone successfully written an app for iOS using Free Pascal and got it approved by Apple Appstore?8
Just want to make sure this path is plausible before I invest more time in it. Thanks a lot. Dennis
- I just signed “Speaker of the Lok Sabha Shrimati Meira Kumar: Send the RTI (Amendment) Bill, 2013 to a Standing Committee/Select Committee ”0
I just signed the petition "Speaker of the Lok Sabha Shrimati Meira Kumar: Send the RTI (Amendment) Bill, 2013 to a Standing Committee/Select Committee " and wanted to…
- Access site from app with login and password using http6
Is there any example to access information on web site that requires authentication with login and password in form using http from a Lazarus application?
- BeagleBone2
Hi ! Have anyone programmed in lazarus to a BeagleBone board ? I´d like to know if the binaries works on that hardware and which kind of applications are possible to be…
- FPC 2.6.2 problem on rapsberry pi0
a longer time ago, i've installed lazarus on my raspberry pi with wheezy. The fpc version was 2.6.0-xxx I could compile without any problem. Today I've downloaded fpc…
- aggpas examples6
I am trying to compile some of the aggpas examples included with lazarus, but I am getting errors upon errors. I have also tried compiling examples against the aggpas…
- compiler -h: -C3 switch1
per "fpc -h" -C3<x>_Turn on ieee error checking for constants it appears like <x> is some kind of parameter However, per compiler sources (and documentation on…
