[fpc-devel] problem making docs

2004-12-20 Thread Vincent Snijders
Hi, Two days ago, I could make the docs by doing: make htmldist in the fpc\doc directory. Now I get these errors: make htmlinstall DOCINSTALLDIR=doc make[1]: Binnengaan van map `/home/vsds/lazarus/source/fpc-1.9/fpc/docs' make[1]: *** Geen regel voor aanmaken doel `includes', nodig voor

Re: [fpc-devel] problem making docs

2004-12-20 Thread Peter Vreman
Hi, Two days ago, I could make the docs by doing: make htmldist in the fpc\doc directory. Now I get these errors: make htmlinstall DOCINSTALLDIR=doc make[1]: Binnengaan van map `/home/vsds/lazarus/source/fpc-1.9/fpc/docs' make[1]: *** Geen regel voor aanmaken doel `includes', nodig voor

[fpc-devel] Variants and strings

2004-12-20 Thread Joost van der Sluis
Hi all, I've found a problem in the string-implementation of the variants, but I thought I would better discus it first, before I start doing all sort of work for nothing. In variants string-values are stored as PWideChar's. (called vOleStr) But if you set a string-value to a variant, it's

Re: [fpc-devel] Variants and strings

2004-12-20 Thread Michael Van Canneyt
On Mon, 20 Dec 2004, Joost van der Sluis wrote: Hi all, I've found a problem in the string-implementation of the variants, but I thought I would better discus it first, before I start doing all sort of work for nothing. In variants string-values are stored as PWideChar's. (called

Re: [fpc-devel] Variants and strings

2004-12-20 Thread Michael Van Canneyt
On Mon, 20 Dec 2004, Joost van der Sluis wrote: I've found a problem in the string-implementation of the variants, but I thought I would better discus it first, before I start doing all sort of work for nothing. In variants string-values are stored as PWideChar's. (called

Re: [fpc-devel] Variants and strings

2004-12-20 Thread Joost van der Sluis
I've found a problem in the string-implementation of the variants, but I thought I would better discus it first, before I start doing all sort of work for nothing. In variants string-values are stored as PWideChar's. (called vOleStr) But if you set a string-value to a variant, it's

[fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Marc Weustink
Hi, From what I understand from the definition of THandle in sysunixh.inc it is defined as a LongInt, even on 64 bit platforms. Currently I'm porting Lazarus to x64 and there I need a 64bit THandle, how to solve it ? Marc ___ fpc-devel maillist -

Re: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Peter Vreman
Hi, From what I understand from the definition of THandle in sysunixh.inc it is defined as a LongInt, even on 64 bit platforms. Currently I'm porting Lazarus to x64 and there I need a 64bit THandle, how to solve it ? File descriptors are still 32bit on x86_64, therefor Thandle=32bit.

RE: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Marc Weustink
Hi, From what I understand from the definition of THandle in sysunixh.inc it is defined as a LongInt, even on 64 bit platforms. Currently I'm porting Lazarus to x64 and there I need a 64bit THandle, how to solve it ? File descriptors are still 32bit on x86_64, therefor Thandle=32bit. A

RE: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Peter Vreman
Hi, From what I understand from the definition of THandle in sysunixh.inc it is defined as a LongInt, even on 64 bit platforms. Currently I'm porting Lazarus to x64 and there I need a 64bit THandle, how to solve it ? File descriptors are still 32bit on x86_64, therefor Thandle=32bit. A

RE: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Marc Weustink
Hi, From what I understand from the definition of THandle in sysunixh.inc it is defined as a LongInt, even on 64 bit platforms. Currently I'm porting Lazarus to x64 and there I need a 64bit THandle, how to solve it ? File descriptors are still 32bit on x86_64, therefor Thandle=32bit. A

RE: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Peter Vreman
Hi, From what I understand from the definition of THandle in sysunixh.inc it is defined as a LongInt, even on 64 bit platforms. Currently I'm porting Lazarus to x64 and there I need a 64bit THandle, how to solve it ? File descriptors are still 32bit on x86_64, therefor Thandle=32bit. A

RE: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Marc Weustink
At 20:34 20-12-2004, [EMAIL PROTECTED] wrote: On Mon, 20 Dec 2004, Peter Vreman wrote: Hi, From what I understand from the definition of THandle in sysunixh.inc it is defined as a LongInt, even on 64 bit platforms. Currently I'm porting Lazarus to x64 and there I need a 64bit THandle,

RE: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Tomas Hajny
Date sent: Mon, 20 Dec 2004 21:02:04 +0100 To: FPC developers' list [EMAIL PROTECTED] From: Marc Weustink [EMAIL PROTECTED] Subject:RE: [fpc-devel] THandle and 64bit platforms Send reply to: FPC developers' list [EMAIL

RE: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Michael . VanCanneyt
On Mon, 20 Dec 2004, Tomas Hajny wrote: Date sent:Mon, 20 Dec 2004 21:02:04 +0100 To: FPC developers' list [EMAIL PROTECTED] From: Marc Weustink [EMAIL PROTECTED] Subject: RE: [fpc-devel] THandle and 64bit platforms Send reply to:

RE: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Tomas Hajny
Date sent: Mon, 20 Dec 2004 22:50:06 +0100 (CET) From: [EMAIL PROTECTED] To: [EMAIL PROTECTED], FPC developers' list [EMAIL PROTECTED] Subject:RE: [fpc-devel] THandle and 64bit platforms Copies to: Send reply

RE: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Michael . VanCanneyt
On Mon, 20 Dec 2004, Tomas Hajny wrote: Date sent:Mon, 20 Dec 2004 22:50:06 +0100 (CET) From: [EMAIL PROTECTED] To: [EMAIL PROTECTED], FPC developers' list [EMAIL PROTECTED] Subject: RE: [fpc-devel] THandle and 64bit

Re: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Florian Klaempfl
[EMAIL PROTECTED] wrote: On Mon, 20 Dec 2004, Tomas Hajny wrote: Date sent: Mon, 20 Dec 2004 21:02:04 +0100 To: FPC developers' list [EMAIL PROTECTED] From: Marc Weustink [EMAIL PROTECTED] Subject:RE: [fpc-devel] THandle and 64bit

Re: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Michael . VanCanneyt
On Mon, 20 Dec 2004, Florian Klaempfl wrote: [EMAIL PROTECTED] wrote: On Mon, 20 Dec 2004, Tomas Hajny wrote: Date sent: Mon, 20 Dec 2004 21:02:04 +0100 To: FPC developers' list [EMAIL PROTECTED] From: Marc Weustink [EMAIL PROTECTED]

RE: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Marc Weustink
At 22:50 20-12-2004, [EMAIL PROTECTED] wrote: On Mon, 20 Dec 2004, Tomas Hajny wrote: From: Marc Weustink [EMAIL PROTECTED] File descriptors are still 32bit on x86_64, therefor Thandle=32bit. A THandle is more than a file descriptor alone. Since the LCL is

RE: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Michael . VanCanneyt
On Tue, 21 Dec 2004, Marc Weustink wrote: This will take some work :-) For adapting Lazarus I've no problems with it. For ppl wanting to port apps I see more problems. Especially when a shorter version of it exists. Besides I don't know what other Lazarus devels think People who want

RE: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Marc Weustink
At 00:15 21-12-2004, [EMAIL PROTECTED] wrote: On Tue, 21 Dec 2004, Marc Weustink wrote: This will take some work :-) For adapting Lazarus I've no problems with it. For ppl wanting to port apps I see more problems. Especially when a shorter version of it exists. Besides I don't know what

RE: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread peter green
I guess this is no solution. It makes porting delphi apps very hard. What's the problem if thandle is 64 bit on 64 bit systems? You can still store a 32 bit file handle in it. the only place I could see is var parameters. and if needed that could be got around by overloading functions users

Re: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Peter Vreman
That said, the RTL should also avoid confusion with the Windows/Delphi THandle type, and introduce a cross-platform and opaque TFileHandle type. It's text/file/file of in pascal ;) Which will happen to be equal to THandle on 32-bit windows. On 32-bit Linux, the definition of THandle will

Re: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Florian Klaempfl
Peter Vreman wrote: That said, the RTL should also avoid confusion with the Windows/Delphi THandle type, and introduce a cross-platform and opaque TFileHandle type. It's text/file/file of in pascal ;) Which will happen to be equal to THandle on 32-bit windows. On 32-bit Linux, the definition of

Re: [fpc-devel] THandle and 64bit platforms

2004-12-20 Thread Marco van de Voort
On Tue, 21 Dec 2004, Marc Weustink wrote: The 2.000.000.000 EUR question is then, who will do this work? ;-) I did some counting: Rtl: 489 times (excluding win32, including os2, including comments) Lazarus: 105 times (exluding win32 and docs) Hmm. I can give you an