[fpc-devel] Patch to implement vararrays of widestrings

2006-05-13 Thread Joost van der Sluis
Hi all, attached is a patch that implements widestrings in vararrays. It works on linux/i386 but i'm not sure if it's valid though. Especially on windows... Could you guys have a look? Oh, and it's leaking memory (or refcounts, depending on your point of view) but that's a bug in widestrings in

Re: [fpc-devel] problems with x86_64

2006-05-13 Thread Florian Klaempfl
ik wrote: > Hi, > > I'm currently using Free Pascal Compiler version 2.0.2 [2005/11/12] for > x86_64 > > I noticed that on compiler/utils/fpc.pp, the ppcbin never assigned, > and "fpc -PB" only result with a path without the executible name ... > > It seems that fpc never enters to the {$ifdef x

Re: [fpc-devel] implementing interfaces by delegation

2006-05-13 Thread Florian Klaempfl
Graeme Geldenhuys wrote: > Hi, > > I am currently using FPC 2.0.2 with Lazarus. Does FPC have support > for implementing interfaces by delegation. > > I keep getting the error: > > TreeBuildVisitor.pas(115,51) Fatal: Syntax error, ";" expected but > "identifier IMPLEMENTS" found > > which I gu

[fpc-devel] Current 2.11 Snapshot does not compile on windows for i386-linux Target

2006-05-13 Thread Michael Ring
I've downloaded today's snapshot from ftp.freepascal.org. While 2.03 Version cross-compiles on windows for linux the version 2.11 Snapshot doesn't. Here's the Error Output: C:/Programme/fpc/fpcbuild-2.11/fpcsrc/rtl/units/i386-linux -di386 -dRELEASE -Fi../objpas/sysutils ../unix/sysutils.pp

Re: [fpc-devel] Current 2.11 Snapshot does not compile on windows for i386-linux Target

2006-05-13 Thread Florian Klaempfl
Michael Ring wrote: > I've downloaded today's snapshot from ftp.freepascal.org. > > While 2.03 Version cross-compiles on windows for linux the version 2.11 > Snapshot doesn't. This is already fixed in svn. > > Here's the Error Output: > > C:/Programme/fpc/fpcbuild-2.11/fpcsrc/rtl/units/i386-li

Re: [fpc-devel] Current 2.11 Snapshot does not compile on windows for i386-linux Target

2006-05-13 Thread Vincent Snijders
Michael Ring wrote: I've downloaded today's snapshot from ftp.freepascal.org. While 2.03 Version cross-compiles on windows for linux the version 2.11 Snapshot doesn't. Here's the Error Output: This has been fixed today. Maybe it works tomorrow, if no new bugs are introduced. Vincent. __

[fpc-devel] Linux loadlibrary vs Windows

2006-05-13 Thread Tony Maro
I use the Synapse TCP toolkit. I recently updated to 2.0.2 (can't get a full working 2.0.3 in Windows yet for some reason) and found that Synapse suddenly didn't compile in Linux. Now, it's likely that the Synapse toolkit has already been updated, but my point is the difference now between Linux

Re: [fpc-devel] Linux loadlibrary vs Windows

2006-05-13 Thread Marco van de Voort
> I use the Synapse TCP toolkit. I recently updated to 2.0.2 (can't get a > full working 2.0.3 in Windows yet for some reason) and found that > Synapse suddenly didn't compile in Linux. > > Now, it's likely that the Synapse toolkit has already been updated, but > my point is the difference now be

Re: [fpc-devel] Linux loadlibrary vs Windows

2006-05-13 Thread Michael Van Canneyt
On Sat, 13 May 2006, Tony Maro wrote: > I use the Synapse TCP toolkit. I recently updated to 2.0.2 (can't get a > full working 2.0.3 in Windows yet for some reason) and found that > Synapse suddenly didn't compile in Linux. > > Now, it's likely that the Synapse toolkit has already been updated

Re: [fpc-devel] Linux loadlibrary vs Windows

2006-05-13 Thread Tony Maro
Michael Van Canneyt wrote: > > > AFAIK this has been fixed in the Synapse toolkit. > It has been changed to use the agnostic TLibHandle type. > Okay, thanks. I just thought it was odd that it worked the same for both and then in a later FPC it didn't. One day I must update my synapse toolk

[fpc-devel] Output flush on pipes

2006-05-13 Thread Martin Schreiber
Since some time FPC doesn't flush output on pipes after writeln. On linux I can use a pseudo terminal, what can I do on win32 to get flushed output from FPC into the message window of MSEide? Martin ___ fpc-devel maillist - fpc-devel@lists.freepascal

[fpc-devel] -k linker path limit?

2006-05-13 Thread L505
While cross compiling a linux elf on a windows PC I found an odd bug/issue/problem that I'm not sure whether is an FPC problem or a linker problem Here's what I did: Passed this -k option: -kc:\test\test\test\test\test\test\ld-linux.so.2 Got error: Error: Can't call the linker, switching to ext

Re: [fpc-devel] Output flush on pipes

2006-05-13 Thread Daniël Mantione
Op Sun, 14 May 2006, schreef Martin Schreiber: > Since some time FPC doesn't flush output on pipes after writeln. > On linux I can use a pseudo terminal, what can I do on win32 to get flushed > output from FPC into the message window of MSEide? It is strongly recommended against to parse the

Re: [fpc-devel] Output flush on pipes

2006-05-13 Thread Micha Nelissen
On Sun, 14 May 2006 08:48:07 +0200 (CEST) Daniël Mantione <[EMAIL PROTECTED]> wrote: > About flushing the output, I think it is impossible to receive the output > interactively currently, it will output in bursts. You should still be > able to receive the output, though. If you want to receive i

Re: [fpc-devel] Output flush on pipes

2006-05-13 Thread Vincent Snijders
Daniël Mantione wrote: Op Sun, 14 May 2006, schreef Martin Schreiber: Since some time FPC doesn't flush output on pipes after writeln. On linux I can use a pseudo terminal, what can I do on win32 to get flushed output from FPC into the message window of MSEide? About flushing the output,