fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Re: Re: Multi-threaded project with few locks (no Thread.waitfor). Memory consumption keeps increasing on Ubuntu 10.10 x640
Those kind of threads are not a big they are running during the whole application's lifetime, race conditions with concurrently running code are about as improbable as…
- Re: Re: Multi-threaded project with few locks (no Thread.waitfor). Memory consumption keeps increasing on Ubuntu 10.10 x641
Nice for you, but I'd rather avoid polling solutions. Check again. You can't even access FFinished from a foreign thread. Vinzent.
- WinCE / Win32 compilation5
I am still compiling delphi code and do now compile for both win32 and winCE. WinCE works (but executable untested), while win32 complains a few places: 1) Whenever I…
- declaration of functions11
While trying to make delphi code compatible with FPC, I have hit this issue: Delphi allows: interface function somefunction(a: integer): integer; implementation function…
- Running FPC without extdebug2
Can somebody confirm that the -an option ("List node info in assembler file") is unavailable unless FPC is compiled with EXTDEBUG? Mark Morgan Lloyd markMLl .AT.…
- Detecting what is the linux distro17
I'm looking for a proper way to detect the type of Linux distro. At first I thought about /etc/issue, but it seems that some are abusing this file. Many distro's uses…
- Disk Full6
The following code (Msg is just outputting to the debug monitor) will produce something strange: // replace all line endings with space for Pos1 := 1 to Len do begin try…
- Length bug ?2
I think I have found a bug in FPC 2.4.0. Tested under Windows XP 32 bits and Linux 32 bits. program TestLength; begin WriteLn('L =', Length('') ); end. This program…
- Help getting Lazarus app in Ubuntu to elevate to root and back again3
I'm needing help to take my Lazarus app, elevate process to root (using GUI prompt like GKSU) and I want to drop back down to the user's level after port binding and…
- fpc.cfg on windows7
I cannot find any documentation on this: On Linux I can have my global fpc.config in /etc/fpc.cfg and it will also look for a config in ~/.fpc/fpc.cfg which is very…
- Optimized matrix multiplication functions for pascal?12
I am translating a bunch of Fortran functions to FPC and I have now come across a problem with a couple of built-in Fortran90 functions: MATMUL multiplies two matrices…
- Where is IsMultiThreaded set under Linux?39
Is it the line with InterlockedExchange() call? The reason I ask, I'm using FPC 2.4.3 under 64-bit linux and using fpGUI. All other platforms has a clear…
- Erorr: Illegal type conversion: "Set Of ShortInt" to "LongInt"2
Hello FPC-Pascal users discussions! I have this conversion: type TWordSet = set of 0..15; PWordSet = ^TWordSet; var btn: TMsgDlgButtons; begin ...…
- lNet getting the local IP21
I am searching for a way to get the local IP. I already found examples with winsock, synapse and indy. Does anyone know how to do that with lNet? Felipe Monteiro de…
- Build scripts for Freepascal and Lazarus compilation from source6
I have posted an article and some code on some bash scripts I have developed to install FPC and Lazarus from source at…
- TProcess.Free - three exceptions in ntdll.dll - only *sometimes*4
has anybody ever had the problem of TProcess.Free causing three exceptions in in ntdll.dll? C0000005 at 7C928FEA in C:\WINDOWS\system32\ntdll.dll 7C928FEA seems to be…
- Using LLVM with FPC9
Since no one seems to be interested on this in Lazarus forum, I duplicate it here: I'm not talking about generating LLVM IR code as FPC backend, instead I'd like to use…
- How to get to Range Check Error location25
Hi I asked this on Lazarus list but it belongs better here. So, how to get to the source line that gives a range check error? I built the whole Lazarus with -Cr and…
- Fwd: Delphi incompatible conditionals?7
I'm trying to add following conditional code to the top of a unit that should compile in fpc and in delphi: {$IFDEF FPC} {$IFNDEF ver1} {$IF (fpc_version>2) or…
- library (win32 dll) finalization section - what is allowed and what not?2
I'm currently fighting with some problems that seem to have to do with the order in which things are done when a library is unloaded. For example I have written a little…
- TFileStream and stdin - how to make this work?8
this might be a stupid question but I find myself again struggling with file IO and stdin/stdout. I am trying to do the following: StdIn :=…
- File or Directory change notification component3
Does the RTL or FCL have a file or directory change notification component. I'm about to write one, but if one already exists, it could save me some time. I looked…
- tlhelp32 for WinCE4
Hello together! As I need to implement tlhelp32 for Windows Mobile I plan to contribute this back to FPC as well. I'm using jwatlhelp32 from winunits-jedi as a base and…
- Writing a screensaver with fpc for Kubuntu ( sorry, forgot the attechment )0
I wanted to develop an XScreenSaver with FPC. My first idea was to write a GTK+ app, but according to the XScreenSaver specs you have to paint directly on the X root…
- Writing a screensaver with fpc for Kubuntu0
I wanted to develop an XScreenSaver with FPC. My first idea was to write a GTK+ app, but according to the XScreenSaver specs you have to paint directly on the X root…
- Initializing records and other complicated structures9
Fpc sometimes complains (hints) about local variables not being initialized. My question: how do I initialize more complicated structures like records? And should I need…
- RichMemo in shared SO library - relocation error2
I have no problem with LCL and Richmemo in DLL, but on linux I can't build SO library with TRichMemo. I get this error: /usr/bin/ld:…
- Any recommendations for a good in-memory storage type9
While implementing drag-n-drop support in fpGUI, I created a TfpgMimeData class. This class will hold various data items, and a mime-type describing each of the data…
- Obtain Class hierarchy (in MacPas mode)10
I am looking for a way to obtain the class hierarchy of a program in MacPas mode (where there are no published properties). TObject has ClassParent, so a list of Class…
- fpc binary port on aix: It's avaliable ?4
I find the interesting thread baout fpc on AIX platform: "How hard is it to port FPC to AIX" on http://lists.freepascal.org/lists/fpc-devel/2008-September/thread.html …
