[fpc-pascal] Fatal: internal error 200611083

2011-11-25 Thread Graeme Geldenhuys
Hi, I've setup a WinXP system, and installed the latest released Lazarus 0.9.30 (from a setup download) that include the latest released FPC 2.4.4 I have a couple of projects that cannot be compiled. It keeps giving me a "Fatal: internal error 200611083" error. All these projects compile just fi

Re: [fpc-pascal] OpenGL ES bitmap drawing

2011-11-25 Thread Jeppe Græsdal Johansen
Den 25-11-2011 17:53, Felipe Monteiro de Carvalho skrev: Hello, This is a kind of "take a look at my code please" question. Normally I avoid that kind of question, but in this case my cluelessness is big enough that it would really be excellent if someone could throw some light here. Well, basi

[fpc-pascal] OpenGL ES bitmap drawing

2011-11-25 Thread Felipe Monteiro de Carvalho
Hello, This is a kind of "take a look at my code please" question. Normally I avoid that kind of question, but in this case my cluelessness is big enough that it would really be excellent if someone could throw some light here. Well, basically it is simple, I have a working Android application wh

RE : RE : RE : [fpc-pascal] FPC And D-Bus

2011-11-25 Thread Ludo Brands
Thank you Ludo. It still does not work, now it complains about the interface is wrong for some reason. I gave up, and I binded libnotify instead. Probably the better solution. I also noticed in dbus-monitor messages complaining about messages signatu

Re: RE : RE : [fpc-pascal] FPC And D-Bus

2011-11-25 Thread ik
On Thu, Nov 24, 2011 at 21:33, Ludo Brands wrote: > ** > > > > I'm Trying to send notification using D-Bus Notify method. > The thing is, that I do not understand how to properly use it. > My current code: > https://github.com/ik5/display-quotes/blob/master/src/units/untquotedbus.pas#L92 > > I've

Re: [fpc-pascal] Class reference doubt

2011-11-25 Thread Luiz Americo Pereira Camara
On 25/11/2011 07:50, Dimitri Smits wrote: so you have: type TMyObject=class(TObject) ... constructor Create; end; Yes TMyClass = class of TMyObject; //<-- important I guess Not important or necessary. I was using TClass from RTL = class of TObject ... procedure pr

Re: RE : RE : [fpc-pascal] Working Free Pascal android JNI example

2011-11-25 Thread Felipe Monteiro de Carvalho
FPC 2.6 and 2.7 are broken for Android. You can manually patch fpc to work around the issues. See: http://bugs.freepascal.org/view.php?id=20726 and: http://bugs.freepascal.org/view.php?id=18833 If you don't want to wait until the bugs are fixed, AFAIK the best is using the compiler which is known

Re: RE : RE : [fpc-pascal] Working Free Pascal android JNI example

2011-11-25 Thread Torsten Bonde Christiansen
On 2011-11-25 13:38, Ludo Brands wrote: /usr/lib/fpc/2.4.4/units/arm-linux/rtl/dllprt0.o: In function `_haltproc': androidprt0.as:(.text+0x0): multiple definition of `_haltproc' ./libandroidprt0.so:androidprt0.as:(.text+0x0): first defined here /usr/lib/fpc/2.4.4/units/arm-linux/rtl/dllprt0.o: In

RE : RE : [fpc-pascal] Working Free Pascal android JNI example

2011-11-25 Thread Ludo Brands
> /usr/lib/fpc/2.4.4/units/arm-linux/rtl/dllprt0.o: In function > `_haltproc': > androidprt0.as:(.text+0x0): multiple definition of `_haltproc' > ./libandroidprt0.so:androidprt0.as:(.text+0x0): first defined here > /usr/lib/fpc/2.4.4/units/arm-linux/rtl/dllprt0.o: In function > `_haltproc_eabi':

Re: RE : [fpc-pascal] Working Free Pascal android JNI example

2011-11-25 Thread Torsten Bonde Christiansen
Hi Ludo. I try to use you androidprt0.so but I keep getting the same error. I do not have much experience in the lower parts of how the linking/assembling is done, so I hope you can help me out here. I get the following error: $ ppcrossarm -b -B -XX -Xc -XD -Tlinux -darm -k"-landroidprt0" pa

Re: [fpc-pascal] Class reference doubt

2011-11-25 Thread Dimitri Smits
- "Luiz Americo Pereira Camara" schreef: > On 24/11/2011 19:34, Jonas Maebe wrote: > > In that case, you did not hit the same problem as the original > poster (your "I also hit this problem recently" is what triggered my > response). His problem was that if you call a non-virtual constructor

[fpc-pascal] FTP...2.4.4/bootstrap... is missing.

2011-11-25 Thread Marcos Douglas
Hi, Could please someone return the file i386-win32-ppc386.zip (or new version to compile FPC 2.5.1) to the FTP ftp://ftp.freepascal.org/pub/fpc/dist/2.4.4/bootstrap/ ? That file is used to this tutorial: http://wiki.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sou

Re: [fpc-pascal] Heap, Stack, HeapTrc and threads

2011-11-25 Thread Jonas Maebe
On 25 Nov 2011, at 08:43, Marco van de Voort wrote: IMHO if you get into trouble with this, you are already walking on the edge of the abyss. Using cmem (or any other advanced memory manager) might give short time relieve because it probably has a different allocation pattern. Not necess

Re: [fpc-pascal] Re: Patch/Test BlobSegmentSize was: IBConnection blobsegmentsize irrelevant & performance

2011-11-25 Thread Michael Van Canneyt
On Fri, 25 Nov 2011, Reinier Olislagers wrote: On 25-11-2011 10:07, Michael Van Canneyt wrote: On Fri, 25 Nov 2011, Reinier Olislagers wrote: Database patches by default get assigned to Joost, and Joost is busy. I'll have a look at it. You can always directly assign bugs to me if we've discu

Re: [fpc-pascal] Re: Patch/Test BlobSegmentSize was: IBConnection blobsegmentsize irrelevant & performance

2011-11-25 Thread Reinier Olislagers
On 25-11-2011 10:07, Michael Van Canneyt wrote: > On Fri, 25 Nov 2011, Reinier Olislagers wrote: > > Database patches by default get assigned to Joost, and Joost is busy. > I'll have a look at it. You can always directly assign bugs to me if > we've discussed them here on the list. > > Michael.

Re: [fpc-pascal] Re: Patch/Test BlobSegmentSize was: IBConnection blobsegmentsize irrelevant & performance

2011-11-25 Thread Michael Van Canneyt
On Fri, 25 Nov 2011, Reinier Olislagers wrote: On 21-11-2011 9:31, Reinier Olislagers wrote: On 20-11-2011 10:31, Reinier Olislagers wrote: On 19-11-2011 23:36, Michael Van Canneyt wrote: On Sat, 19 Nov 2011, Reinier Olislagers wrote: On 19-11-2011 13:28, Reinier Olislagers wrote: I wonder