Re: [fpc-pascal] Memory leaks in FPC 2.3.1 SVN 13188

2009-05-24 Thread Bruce Tulloch
Thanks for that. We're using -gh. We're aware of the usage requirements of heaptrc. The cause of this problem in our case is very subtle. So far we have been unable to reproduce it outside our (very large) application but we're working on isolating it in a smaller test program. The problem looks

Re: [fpc-pascal] Memory leaks in FPC 2.3.1 SVN 13188

2009-05-24 Thread leledumbo
> Are we missing something here or might this be an FPC bug? It depends on how you use HeapTrc. If via -gh, this might a bug. If you manually include in a uses clause, you have to be sure that you put it as the first one of your program. Otherwise, HeapTrc won't be able to detect what have been d

[fpc-pascal] fpc & mysql 5.0 in mac osx 10.5 intel

2009-05-24 Thread César Espinoza
how can I use mysql 5.0 in mac OS X 10.5 Intel? I did it in OSX 10.4 ppc, but not in 10.5 Intel I get the message ld: library not found for -llmysqlclient Thanks in advance -- --- César Espinoza Soto - ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] How trate with JPG

2009-05-24 Thread Tomas Hajny
On Sun, May 24, 2009 22:48, Mattias Gaertner wrote: > On Sun, 24 May 2009 21:18:44 +0200 > Diego Antonio Lucena Pumar wrote: > >> >> Hi list: >> >> I have a question, is for a elementary program. What >> are the routines to manipulate with jpg image in FreePascal?. Thank, >> Dieg

Re: [fpc-pascal] IE 200307043

2009-05-24 Thread Joost van der Sluis
Op zondag 24-05-2009 om 23:14 uur [tijdzone +0200], schreef Aleksa Todorovic: > Hi, all! > > I've just tried to compile some of my old Pascal code, and got IE > 200307043. I've tried both 2.2.4 and svn trunk versions. Simple > program to generate it: > > program test; > var > p: Pointer; > begi

Re: [fpc-pascal] IE 200307043

2009-05-24 Thread Jonas Maebe
On 24 May 2009, at 23:14, Aleksa Todorovic wrote: I couldn't find issue about this in bug tracker, should I report it? Yes, please. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-

[fpc-pascal] IE 200307043

2009-05-24 Thread Aleksa Todorovic
Hi, all! I've just tried to compile some of my old Pascal code, and got IE 200307043. I've tried both 2.2.4 and svn trunk versions. Simple program to generate it: program test; var p: Pointer; begin p := nil + 1; end. I couldn't find issue about this in bug tracker, should I report it? Bes

Re: [fpc-pascal] How trate with JPG

2009-05-24 Thread Felipe Monteiro de Carvalho
Do you need to use only the FCL? If you can use the LCL then you can use TJpegImage which works just like TBitmap. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/f

Re: [fpc-pascal] How trate with JPG

2009-05-24 Thread Mattias Gaertner
On Sun, 24 May 2009 21:18:44 +0200 Diego Antonio Lucena Pumar wrote: > > Hi list: > > I have a question, is for a elementary program. What > are the routines to manipulate with jpg image in FreePascal?. Thank, > Diego Antonio Lucena Pumar. fpImage There are examples in the

[fpc-pascal] How trate with JPG

2009-05-24 Thread Diego Antonio Lucena Pumar
Hi list: I have a question, is for a elementary program. What are the routines to manipulate with jpg image in FreePascal?. Thank, Diego Antonio Lucena Pumar. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://l

Re: [fpc-pascal] Gecko / Firefox / XPCOM

2009-05-24 Thread Flávio Etrusco
On Sun, May 24, 2009 at 9:30 AM, Jonas Maebe wrote: > > On 21 May 2009, at 22:34, Henrik Genssen wrote: > >> nsMemory.pas(157,17) Error: Incompatible types: got "Realloc(Pointer, >> LongInt):^untyped" expected "> Pointer, LongInt):^untyped;Register>" > > As the error message says: the compiler exp

Re: [fpc-pascal] about Support for dynamic libararies/package

2009-05-24 Thread Marco van de Voort
In our previous episode, liuzg2 said: > how long can Support for dynamic libararies/package!! > ?? There is currently no one working on it, and stronger, even the (detailed) requirements are not done yet. See the wiki. ___ fpc-pascal maillist - fpc-pas

Re: [fpc-pascal] Gecko / Firefox / XPCOM

2009-05-24 Thread Den Jean
On Thursday 21 May 2009 22:34:52 Henrik Genssen wrote: > I am trying to use the gecko libs from > http://sourceforge.net/projects/d-gecko with lazarus. in case you didn't know http://lists.lazarus.freepascal.org/pipermail/qt/2009-May/001212.html ___ fpc

Re: [fpc-pascal] Gecko / Firefox / XPCOM

2009-05-24 Thread Jonas Maebe
On 21 May 2009, at 22:34, Henrik Genssen wrote: nsMemory.pas(157,17) Error: Incompatible types: got "Realloc(Pointer, LongInt):^untyped" expected "type of function(var Pointer, LongInt):^untyped;Register>" As the error message says: the compiler expects the first parameter of realloc to be

RE: Re: [fpc-pascal] Gecko / Firefox / XPCOM

2009-05-24 Thread Henrik Genssen
>> (...) >> nsMemory.pas(155,13) Warning: Some fields coming before "GetMem" weren't >> initialized >> nsMemory.pas(157,17) Warning: Some fields coming before "ReallocMem" weren't >> initialized >> nsMemory.pas(157,17) Error: Incompatible types: got "Realloc(Pointer, >> LongInt):^untyped" expect

Re: [fpc-pascal] Memory leaks in FPC 2.3.1 SVN 13188

2009-05-24 Thread Jonas Maebe
On 24 May 2009, at 09:29, Bruce Tulloch wrote: Are we missing something here or might this be an FPC bug? We'll file a bug report if necessary. A bug report with a compilable example program that demonstrates the problem would be helpful, thanks. Jonas PS: your message was held for mod

[fpc-pascal] Memory leaks in FPC 2.3.1 SVN 13188

2009-05-24 Thread Bruce Tulloch
When building an application with Lazarus (r20153) using FPC (r13188) (on a Debian Lenny system) we are experiencing significant memory leaks. Earlier revisions of both Lazarus and FPC 2.3.1 experience the same problem. Building and running our app with heaptrc enabled we find a very large number