fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Cross-building on from Linux/i386 to Linux/x86-6410
<Continuation of discussion from "Cross-building on from Linux/x86-64 to Linux/i386 (was: Win64 release of FPC 2.6.2 missing)"> It is the other way round. My OS is 32…
- Is THostResolver creating a thread?5
A friend from Brazil found a small problem in "resolve" unit. Before execute the test: http://imagebin.org/256886 After execute the test: http://imagebin.org/256887 And…
- Strange error message5
I'm working on a glut app but I keep on getting the message: Error: Can't assign local procedure/function to procedure variable The error is at this line:…
- How to close TInetServer without except?46
I'm trying to close a socket (full code here: https://bitbucket.org/silvioprog/tcpipcomp/src/6b43739d5416424e82112b858a9b71d26c8c6165/src/tcpipserver.pas?at=master ):…
- $LINKLIB or $LINK in Lazarus/FPC on Mac OSX7
Hello: I am new to the list, I have posted on the forum, but I don't really know where the center of gravity is for this FPC/Lazarus Community, so I will post on the…
- Compileability of target WinCE restored2
Hello together! I've now restored the possiblity to compile arm-wince and i386-wince in revision 24420. Sorry for the long time of broken compilation and the resulting…
- Porting C variable declaration2
I came across a pointer variable in C which also get's assigned integer values. Anyone has an idea how to port this in FPC? The variable is declared as: static void *x=0;
- How to detect if a project is a simple program or a application?2
I'm trying to detect if a project is a simple program or a application. Please download a small test here: https://www.dropbox.com/s/w6a9gb4b9hnjit5/prova.zip On Windows…
- fpc does not invoke correct compiler2
Hi all I experience inconsistency using fpc wrapper. See below. When I invoke fpc using command line "fpc -Px86_64 ..." it correctly executes cross-compiler (ppcrossx64)…
- fpGUI Toolkit v1.0 release for FPC 2.6.24
fpGUI v1.0 is available ======================== I'm glad to announce the 1.0 release of fpGUI. This has been over a years worth of development, so a complete list of…
- Problems with ImageMagick Win642
Current FPC/Trunk running on Win64 XP I can't get ImageMagick unit to work under Windows XP 64. I changed Win32 to Windows {$ifdef Windows} MagickExport =…
- Generic Observables3
I was experimenting with using some of FPC's features together and came up with this: https://github.com/tangentstorm/lazmvc/blob/master/umodel.pas Basically, it's just…
- What library would be recommended for creating pdf file (print invoices)3
I'm wondering which is the best library available for freepascal that i could use to generate printable invoices? Most likely a lot of people need this kind of…
- Odyssey: SSockets and Threads.47
There are a multi-thread example using SSockets in FPC? I'm trying to implement it*, but it's very hard and this work it's consuming all my time. The difficulty is to…
- fpdoc project file: multiple output formats8
I'm using a fpdoc project file for fpGUI documentation. The project file idea works much better than a massive set of command line parameters. So kudos to whoever…
- MS DOS 8086 compiler?14
Noticed that an 8086 branch was merged to fpc trunk. Is it time to get out some 5.25" diskettes[1]? [1] Shame I dumped all the accompanying hardware long ago ;) Perhaps…
- How to detect connection status of a socket5
I am writing a redis client in fpc and found that even when the connection is closed by server (via redis CLIENT KILL), send and receive can still be done without…
- Windows backslash12
It seems fpc converts under Windows \^ to ^. See here: http://bugs.freepascal.org/view.php?id=23294 Is this a feature or a bug? Mattias
- [OT] Pascal compiler for embedded platforms24
has anyone of you had the chance to try this Pascal compiler for embedded platforms? http://www.mikroe.com/mikropascal/ Any comment will be appreciated! Roberto
- PopCount0
Unfortunately, for POPCNT assembler, SSE 4.2 is required. For older CPUs, after some tests, I'd finally recommend function CShift(ANum : QWord) : Cardinal; var n1, n2 :…
- FPC_JVM compilation fails on trunk3
Hi List. I'm trying to follow this guide: http://wiki.freepascal.org/FPC_JVM/Building But when i reach the point where i do the actual compilation fail with the…
- Statically link library16
I'm linking a C and FPC program but I keep on getting undifined symbols (see example below). Error: Undefined symbol: _strcpy Sofar I have added: {$linklib msvcrt}…
- SSockets and write/read simultaneously...0
The classes of SSockets allow to use write and read simultaneously? (eg. Gtalk/Skype send messages even receiving a attached file) Please excuse if the question is…
- Simple beep sound Linux1
How to program a simple beep in Linux. Now I have a mainboard which has a speaker, but needs to program using the sound device, I guess. Crt sound() does not work in…
- RAD Studio XE4 Released?3
http://www.h-online.com/developer/news/item/RAD-Studio-XE4-focuses-on-cross-platform-apps-1848176.html…
- What's the deal with CloseThread?19
I was looking at threading support in the System unit and also in the TThread class. According to the documentation at…
- Mipsel compilation: changing elf flags?!4
See this forum thread: http://lazarus.freepascal.org/index.php/topic,20664.msg119960.html#msg119960 Forum user ocye got mipsel binaries, but the ELF flags apparently need
- Object Pascal Grammar in EBNF like style6
I'm putting together a EBNF like syntax [not strictly EBNF] for the Object Pascal grammar, as implemented by Free Pascal, using the {$mode objfpc} compiler mode. I'm…
- ppcjvm linking jar3
I am stumped about how to link a program such as the example trange1.pp into a jar file. I've followed the instructions here: http://wiki.freepascal.org/FPC_JVM and the…
- why connect is "deprecated"29
I am trying to write a tcp client (redis) in free pascal, and found this function marked as deprecated: Function Connect(Sock:longint;const addr:TInetSockAddr;var…
