Re: [fpc-pascal] Any recommendations for a good in-memory storage type

2010-09-27 Thread Zaher Dirkey
On Wed, Sep 22, 2010 at 1:31 PM, Graeme Geldenhuys wrote: > Hi, > > 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 items. Obviously the > TfpgMimeData class should be able to

Re: [fpc-pascal] RichMemo in shared SO library - relocation error

2010-09-27 Thread Jonas Maebe
On 23 Sep 2010, at 16:02, Dibo wrote: 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: /home/dibo/Programowanie/Lazarus/components/richmemo/ lib/x86_64-linux/richmemo.o: relocation R_X86_64_32S against `TC_R

Re: [fpc-pascal] Obtain Class hierarchy (in MacPas mode)

2010-09-27 Thread Adriaan van Os
Michael Van Canneyt wrote: On Tue, 21 Sep 2010, Adriaan van Os wrote: Michael Van Canneyt wrote: On Tue, 21 Sep 2010, Florian Klaempfl wrote: Am 21.09.2010 13:42, schrieb Adriaan van Os: Michael Van Canneyt wrote: On Tue, 21 Sep 2010, Adriaan van Os wrote: I am looking for a way to o

Re : Re : [fpc-pascal] fpc binary port on aix: It's avaliable ?

2010-09-27 Thread phoebus phoebus
Hi, Thanks for your feedback. >> Lack of ssh access to a machine that runs AIX, and to a lesser extent lack >> of >>someone doing it (I can do an initial port, but I'm getting overloaded >>regarding >>the number of platforms I maintain). I understand that not an easy things. Here, i have som

Re: [fpc-pascal] Initializing records and other complicated structures

2010-09-27 Thread Sven Barth
Am 27.09.2010 10:38, schrieb Honza: 2010/9/27 Jim: As TIfdTag seems to contain non-pointer records only, I thought I could use Sizeof and tried this: FillByte(tag, SizeOf(tag), 0); //initialize var. The compiler warning doesn't go away though. Is this the recommended way of doing things? Ther

Re: Re : [fpc-pascal] fpc binary port on aix: It's avaliable ?

2010-09-27 Thread Jonas Maebe
On 27 Sep 2010, at 12:28, phoebus phoebus wrote: What is blocking / slowing the AIX port ? Lack of realease builder, lack of testers ? Lack of ssh access to a machine that runs AIX, and to a lesser extent lack of someone doing it (I can do an initial port, but I'm getting overloaded regar

Re : [fpc-pascal] fpc binary port on aix: It's avaliable ?

2010-09-27 Thread phoebus phoebus
Hi Jonas, Thanks for your update. Could i ask the following questions? What is blocking / slowing the AIX port ? Lack of realease builder, lack of testers ? Which contribution do you need ? It's  an egg chiken situation !! Regards, Frphoebus   De : Jonas Mae

Re: [fpc-pascal] fpc binary port on aix: It's avaliable ?

2010-09-27 Thread Jonas Maebe
On 27 Sep 2010, at 10:20, phoebus phoebus wrote: Do you know if there are some binary port for aix ? There is none. Do you know how build fpc on Aix platform ? That is not possible at this time, because FPC has not been ported to AIX. I have a cc/g++ compiler or xlc compiler on the A

Re: [fpc-pascal] Initializing records and other complicated structures

2010-09-27 Thread Honza
2010/9/27 Jim : > 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 to (I'm guessing no in the example below, but > the contents of the record will be undefined - no problem a

[fpc-pascal] Initializing records and other complicated structures

2010-09-27 Thread Jim
Hi, 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 to (I'm guessing no in the example below, but the contents of the record will be undefined - no problem as there are no poin

[fpc-pascal] fpc binary port on aix: It's avaliable ?

2010-09-27 Thread phoebus phoebus
Hi, 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   (classified under the wrong thread, because they were posted  starting with a rely to another thread). "AIX port" on h

Re: [fpc-pascal] code optimization

2010-09-27 Thread Florian Klaempfl
> > So to better optimise the original program with regular optimisation > options, I guess we need a) full SSA support Yes. > b) better (node) CSE > support Enabling node cse on loadparentfpn nodes helps already slightly: diff a/compiler/ncgld.pas b/compiler/ncgld.pas index 028e51e..1ab6f11 1