Re: [fpc-pascal] Making a cross-compiler for STM32

2011-10-11 Thread Koenraad Lelong
On 12-10-11 08:12, Koenraad Lelong wrote: On 11-10-11 22:05, Jeppe Græsdal Johansen wrote: That's a problem, since that error was fixed in revision 19238. Btw. I just tested, and I had no problem building the svn trunk version using fpc 2.71. What version of fpc did you try to build with? Rega

Re: [fpc-pascal] Making a cross-compiler for STM32

2011-10-11 Thread Koenraad Lelong
On 11-10-11 22:05, Jeppe Græsdal Johansen wrote: That's a problem, since that error was fixed in revision 19238. Btw. I just tested, and I had no problem building the svn trunk version using fpc 2.71. What version of fpc did you try to build with? Regards, Jeppe Hi, I tried with 19167, like

Re: [fpc-pascal] Making a cross-compiler for STM32

2011-10-11 Thread Jeppe Græsdal Johansen
Den 11-10-2011 21:59, Koenraad Lelong skrev: On 11-10-11 15:56, Jeppe Græsdal Johansen wrote: Those errors seem to relate to some recent changes in the way heap management is done. Last I checked it worked just fine, but other things might have changed which broke it. I'll try to confirm if it's

Re: [fpc-pascal] Making a cross-compiler for STM32

2011-10-11 Thread Koenraad Lelong
On 11-10-11 15:56, Jeppe Græsdal Johansen wrote: Those errors seem to relate to some recent changes in the way heap management is done. Last I checked it worked just fine, but other things might have changed which broke it. I'll try to confirm if it's broken later on But if you try revision 1916

Re: [fpc-pascal] Reusing a TProcess object (issue 19997)

2011-10-11 Thread Sven Barth
Am 11.10.2011 15:44, schrieb Vincent Snijders: Hi, Is it allowed to execute a TProcess object more than once? And if yes, different command lines be used? The reason I ask is issue 19997, each invocation of the compiler in Lazarus leaks a process handle and a thread handle on windows. (not test

Re: [fpc-pascal] Making a cross-compiler for STM32

2011-10-11 Thread Jeppe Græsdal Johansen
Those errors seem to relate to some recent changes in the way heap management is done. Last I checked it worked just fine, but other things might have changed which broke it. I'll try to confirm if it's broken later on But if you try revision 19167 then those changes shouldn't be there. I'm f

[fpc-pascal] Reusing a TProcess object (issue 19997)

2011-10-11 Thread Vincent Snijders
Hi, Is it allowed to execute a TProcess object more than once? And if yes, different command lines be used? The reason I ask is issue 19997, each invocation of the compiler in Lazarus leaks a process handle and a thread handle on windows. (not tested on other OS-es). If is it allowed to re-use T

Re: [fpc-pascal] Writing generic enumerator

2011-10-11 Thread Sven Barth
Am 11.10.2011 06:32, schrieb leledumbo: Is it possible to write one? Due to the nature of enumerator, the iterator and iterated class usually form mutual dependency. With normal classes, this is no problem as mutual dependency can be resolved with forward type declaration. But what if it's used w