fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Writeln in embedded systems2
I have been experimenting with compiling to an embedded ARM platform I succeeded in compiling with a minimum system unit. Now the ARM processor can blink with a LED. I…
- TBufDataSet: ApplyUpdates6
I saw the TBufDataSet.ApplyUpdates and it calls ApplyRecUpdate. The ApplyRecUpdate just raises an exception... There is some implementation, in some place, to work with…
- c to pascal converters2
I'm in the process of converting an old MSVC6 application to FPC/Delphi, so I'm thinking about using a c to pascal converter. The code is older 6-10kloc, and is plain C…
- Errors compiling FPC trunk r21192 x86 windows & existential questions3
Seem to be having some problems compiling FPC trunk r21192 x86 windows (see below). However, x64 build does work. Is this a known problem? Should I keep pestering the…
- Reason of procedure overload RTLeventWaitFor(state, timeout) return.0
I am trying to port a small library previously written for Delphi and Kylix to FPC. This library contains an "event" object that has similar functionality to a windows…
- Internal Error 2010021405 when compiling in Linux2
I am trying to compile a program that contains the following code consturct: type THashEntry<T> = record Key: string; Value: T; class function Create(const AKey: string;…
- missing compiler warning in for loop - is this intentional?1
I just had written this little faulty piece of code: procedure TBuddyList.RemoveBuddy(ABuddy: TABuddy); var I,J,Last : Integer; begin EnterCriticalsection(FCritical);…
- jsondataset: Memleak0
Please see: http://bugs.freepascal.org/view.php?id=21900 Marcos Douglas
- Compiling from and to memory15
I'm currently creating a build chain where FPC is the last step, the one producing a DLL for Windows, x86 and x64. In front of it in the chain, I have designed a…
- How to install another version of fpc?2
I am running linux and already have fpc installed but i want to install side-by-side a newer verson of fpc ... I downloaded the sources did make all && make install…
- Error in my mind or typo in sqldbtoolsunit.pas?1
I'm working on improving bufdataset testing in the dbtestframework, documenting the framework a bit more. (Attached FYI my current version of the readme; comments…
- cross compiling - easier than expected - wiki needs update?5
I just thought I kill some time investigating cross compiling from i386-linux to i386-win32 and hada look at the wiki page http://wiki.freepascal.org/Cross_compiling It…
- making FPC more code optimized18
Here is something that I'm asking without really know anything about the subject, so please bear with me. I'ved asked few places that works with Pascal (Delphi and FPC),…
- Can it map class type as key?10
I'm trying to use template in fpc 2.6.0. I can map class type as value as above code can be compiled. But if I uncomment the declaration of tIS -- map class type as key,…
- heaptrc question3
I am experiencing strange heaptrc output can someone please explain what sort of error could trigger this Heap dump by heaptrc unit 6590 memory blocks allocated :…
- SQLDB: logging all generated SQL?6
I vaguely remember somebody mentioning SQLDB has the option of dumping to a log all the SQL it sends to the database (in other words: logging all SQL sent to the…
- make install changed/broken?3
Has something changed with 'make install'? Instead of copying files it recompiles and fails. Mattias
- Compilation progress4
Is there a way get progress information output by the compiler while building a project? I tried the -vt option, but I can't figure out a way to parse this and get…
- Testing existence of a file at compilation time1
Is it possible to test for the existence of a file, directory or package at compilation time, i.e. {$if exists() or similar? The specific scenario I'm looking at is…
- typesafe typecasting1
While translating some headers I have run across the following problem (I am sure had this in different variations many times before already and always lived with it and…
- Program without window but messages13
I wanted to write a program that has no window but may show messages to the user. I have lots of such programs written with Virtual Pascal but I am struggling to do the…
- RemoveDir: Error: Identifier not found2
If I hit Alt+Up on "RemoveDir" within my program I am moved to D:\Programme\lazarus\fpc\2.6.1\source\rtl\objpas\sysutils\diskh.inc(21,10) with the function header…
- does disconnected tLSocket auto destroy in lnet1
I'm using tLTcp with tLEventer. I've set tLTcp.eventer to the associated tLEvent object and call tLEvent.callAction to wait for new events. After a socket disconnected,…
- Sending break on (Windows) serial comms3
Marco, I see you had a StackOverflow question on this a year or so ago. Did you ever get anywhere with it in practice? I'm about to hack a SerBreak() into my…
- Errors compiling fixes_2.6 on win64: forgot to include dblib for mssqlconn?5
Running fpcup (64 bit) on my Windows machine gives errors with fpc fixes_2.6 (r21000/21001): C:/development/fpc/compiler/ppcx64.exe -Ur -Xs -O2 -n -S2…
- Commercial support for Lazarus/FPC4
Hi all I am considering to subscribe to commercial support in FPC/Lazarus, but I don't have a clear picture what actually support is :) I am looking at…
- Inline assembly using absolute dword ptr6
I'm trying to compile the following code under FreePascal 2.6.0 : function MyGetCurrentThreadId: DWORD; assembler; asm {$IFDEF WIN32} push ecx mov ecx,fs:[dword…
- header translation question: I need an int sized boolean8
I have this from the GLIB heads: typedef int gint; typedef gint gboolean; Now I need a few packed records with such gboolean types in them. On my i386 I am now just…
- Open vs dynamic arrays7
I know this is an area of some confusion, and the more explanations I read the more I'm confused. I've got a procedure like this procedure ClrDebug(const panels: array…
- Default font name1
Most of controls (or canvas) have font name "default". How to get exact name of this font? There is GetFontData(Button1.Font.Handle).Name function but it works on QT…
