fpc-pascal · 2013-04
- Synchronize(dummyproc) with Linux.50
This about audio and fpc and fpGUI and LCL and Linux. (working good with Windows) Have some trouble with threads synchronize() procedure. The main thread.execute is a…
- 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…
- Win64 release of FPC 2.6.2 missing31
I just tried to update one of my Windows VM with the latest released FPC. To my surprise there is no Win64 release for FPC 2.6.2 on SourceForge? I only found a 32-bit…
- FPC cross compilation error: cannot find -lgcc5
I am puzzled by the failure to cross compile with recent FPC versions. Cross compilation from Ubuntu 32 bit to Win32, WIn64, and Linux 64 works well with FPC 2.6.0. With…
- 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 =…
- 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…
- fcl-stl in 2.6.2 packaged release (not source code)6
Recently someone asked me a question which I answer using fcl-stl units, however the OP who uses 2.6.2 installed using the installer said the compiler can't find those…
- GetCurrentDir7
On one of my Linux machines GetCurrentDir returns '', when the working directory is a samba share. Is this a feature or a bug? Mattias
- SqlDB vs Zeos: TDataset.FieldDefs[].Size3
I have a Firebird database living on a FreeBSD server. I did not specify a charset when the database was created. I have a table with a string field defined as…
- The 2.6.2 RPM and Deb archives are still in preparation0
Some words about me: I'm a pascalist for now more than 25 years. I developped many embedded applications, but I don't feel well putting the hands on the compiler...…
- TSocketServer and DoDisconnect event?1
Well, the TSocketServer has the event DoConnect, but, how to I know when a client is disconnected? (eg, when I kill a client with Ctrl+Alt+Del) I find a event such as…
- LLVM (again)6
I have read the discussions about FPC using LLVM and the reasons against it (which I fully understand and support). But a friend of mine called my attention to this:…
- string memory management5
I'm studying how pascal manages strings. I wrote a simple test program: program stringtest; {$mode objfpc}{$H+} uses Classes, sysutils; function test: PString; var s :…
- using mtprocs3
I have a program that captures xml data every 2-6 secs from a power sensor, win , xp. Would like to use freearc ebvery minute or so to compress the previous data in…
- compiling mtprocs3
Got mtprocs from lazurus svn, compiles ok with win 2.6.2 but not with 2.7.1 2.7.1-r1:23421 [2013/01/18]--Free Pascal Compiler version 2.7.1-r1:23421 [2013/01/18] for i386
- Yet again Objects auto destruction1
I think it is not the first time this topic was opened, but still think we need when using object to have automatically destructor called by compiler when the object…
- How to use TThread?5
I tried to use TThread in a small sample, but it don't works. The code is very simple, and I'm sending it in attached. Silvio Clécio My public projects -…
- TBufDataset error2
Hi Guys. Got something funny using the TBufDataSet FCL component. One is dropped onto a TForm. I fill in some TFields (double click on the component image) and give them…
- Bending System.IndexByte to my will!!?2
(FPC 2.6.2 x86, trunk x64, on Windows; found similar behaviour on Linux x64) Busy getting DBase III memo support correct ;) In fcl-db\src\dbase\dbf_common.pas we find…
- socket timeout9
How can I set the connection and read/write timeout when using socket in free pascal? I like the way it works now (blocking, NOT async), but the timeout is a bit too…
- Fpcup for FreeBSD: feedback welcome0
Just uploaded a new version of fpcup (automatic FPC+Lazarus svn downloader/installer for both stable and trunk) at https://bitbucket.org/reiniero/fpcup/downloads I…
- Correct way for partial generic specialization6
This code: {$mode objfpc}{$H+} type generic TType1<A,B> = class end; generic TType2 = specialize TType1<A,String>; begin end. fails: x.pas(5,42) Error: Identifier not…
- Same code from LCL project throw error in console application4
I have strange issue. Simple mpg123 player which work fine on LCL project, on console application throw floating error in line "mh_e := mpg123_read(mh, @outbuf[0],…
- Is this a bug?1
I just wanted to get some opinions on this as to whether this is a bug. Generics in 2.7.x trunk allows units which use a generic class defined in another unit can access…
- Array assignment, and not-a-number7
I was having a bit of fun earlier while waiting for a call. Am I correct in believing that something like type t1= array of integer; var a1: t1; x: integer; a1 :=…
- Warnings crti.o and crtn.o not found10
I just updated my FPC 2.7.1 from revision 23807 to 24236 and for every project I compile I now get warnings that crti.o and crtn.o are not found. Does anyone know why I…
- TDBF: Initial Visual FoxPro support2
I've been working on the tdbf code. It had rudimentary support for both Visual Foxpro and older Foxpro file formats, but mixed them up a bit. I split out the distinction…
- Free member after inherited Destroy;1
Is it safe to free memeber object after call inherited in Destroy? in Delphi/ObjFPC modes type TMyObject=class(TObject) FMyMember:TmyMemberObject; .... destructor…
- What's the status of RTL and IsMultiThreaded := True?6
I did some Googling earlier tonight regarding using the RTL and threads without creating a TThread class. I found some older results from this mailing list such as...…
- 64 bit cross binutils on a 32 bit OS17
Is it possible to build cross binutils to produce win 64 bit files on a 32 bit Linux OS (Ubuntu 32 bit)? If I set target=x86_64-cygwin, the error is: 'BFD does not…
- Why does this work?3
As a certified high-level coder with a fear for anything that smells like pointers and bits I hesitated to post this as the answer may well be: figure it out yourself,…
- Difference between fpc 2.6.2 rc1 and fpc 2.6.2 final2
Somehow i missed the final release of 2.6.2 So i'm still using fpc 2.6.2rc1 Are there any difference between those two versions? Luiz
- Re: fpc-pascal Digest, Vol 106, Issue 260
Am 11.04.2013 um 12:00 schrieb I was successful with target=x86_64-w64-mingw32
