Re: [fpc-pascal] size of "long" on different platforms

2006-11-15 Thread Marco van de Voort
> Den Jean schrieb: > > On Tuesday 14 November 2006 22:28, Jonas Maebe wrote: > > > >> There's a unit called ctypes in the rtl with all these types defined > >> (prefixed by "c", i.e. cshort, cchar, clong, ...) > >> > > > > thx, > > > > I do not see the win64 exception in the defines ?? > > Win

Re: [fpc-pascal] libc for arm

2006-11-15 Thread Koenraad Lelong
Florian Klaempfl schreef: Koenraad Lelong schrieb: Hi, I had some spare time so I tried to make an app for arm-linux with mseIDE. I had a problem and tracking this down I found that libc (../packages/base/libc) is not compiled for arm-linux. I made my ppcrossarm-rpm with a spec-file based on

Re: [fpc-pascal] libc for arm

2006-11-15 Thread Florian Klaempfl
Koenraad Lelong schrieb: Hi, I had some spare time so I tried to make an app for arm-linux with mseIDE. I had a problem and tracking this down I found that libc (../packages/base/libc) is not compiled for arm-linux. I made my ppcrossarm-rpm with a spec-file based on the i386 spec-file. I can't

Re: [fpc-pascal] libc for arm

2006-11-15 Thread Daniël Mantione
Op Wed, 15 Nov 2006, schreef Koenraad Lelong: > Hi, > I had some spare time so I tried to make an app for arm-linux with mseIDE. I > had a problem and tracking this down I found that libc (../packages/base/libc) > is not compiled for arm-linux. > I made my ppcrossarm-rpm with a spec-file based o

[fpc-pascal] libc for arm

2006-11-15 Thread Koenraad Lelong
Hi, I had some spare time so I tried to make an app for arm-linux with mseIDE. I had a problem and tracking this down I found that libc (../packages/base/libc) is not compiled for arm-linux. I made my ppcrossarm-rpm with a spec-file based on the i386 spec-file. I can't see why libc won't compil

[fpc-pascal] SetPropValue doesn't convert string to enum

2006-11-15 Thread Joao Morais
Hello, I am converting an application framework to FPC/Lazarus and I have observed that SetPropValue doesn't convert, e.g., 'False' string to the False enum value if my property is a boolean datatype. The same happens, of course, with user defined enumerations. Am I using the wrong procedur

Re: [fpc-pascal] Compile error with published field

2006-11-15 Thread Joao Morais
Michael Van Canneyt wrote: On Wed, 15 Nov 2006, Joao Morais wrote: Hello, I have a TPersistent decendant class that causes the following compiling error: "Only class which are compiled in $M+ mode can be published" This is the inheritance: TPersistent (Classes unit) +-TPressStreamable (Pre

Re: [fpc-pascal] Compile error with published field

2006-11-15 Thread Michael Van Canneyt
On Wed, 15 Nov 2006, Joao Morais wrote: > > Hello, > > I have a TPersistent decendant class that causes the following compiling > error: > > "Only class which are compiled in $M+ mode can be published" > > This is the inheritance: > > TPersistent (Classes unit) > +-TPressStreamable (PressCl

[fpc-pascal] Compile error with published field

2006-11-15 Thread Joao Morais
Hello, I have a TPersistent decendant class that causes the following compiling error: "Only class which are compiled in $M+ mode can be published" This is the inheritance: TPersistent (Classes unit) +-TPressStreamable (PressClasses unit) +-TPressSubject (PressSubject unit) +-TPressObje

Re: [fpc-pascal] size of "long" on different platforms

2006-11-15 Thread Florian Klaempfl
Den Jean schrieb: > does this mean that the long in > > bool myEventFilter(void *message, long *result); > > is 32 bit on win64 ??? > Yes, iirc ;) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listin

Re: [fpc-pascal] size of "long" on different platforms

2006-11-15 Thread Den Jean
On Wednesday 15 November 2006 08:48, Florian Klaempfl wrote: > > I do not see the win64 exception in the defines ?? > > Win64 has no such exceptions? because I was not sure, I was posting. Is WIN64 not LLP64 ? http://en.wikipedia.org/wiki/64-bit ... Another alternative is the LLP64 model that m

Re[3]: [fpc-pascal] size of "long" on different platforms

2006-11-15 Thread Пётр Косаревский
> > Why does rtl-documentation > > (http://community.freepascal.org:1/docs-html/rtl/index.html) lack its > > description? > > (it mentions 36 out of 48 base rtl units if I get it right) Some units are difficult do document and require some qualification. In the case of ctypes, I ran "fpdoc.

Re[2]: [fpc-pascal] size of "long" on different platforms

2006-11-15 Thread Michael Van Canneyt
On Wed, 15 Nov 2006, ??? wrote: > > > On Tuesday 14 November 2006 22:28, Jonas Maebe wrote: > > >> There's a unit called ctypes in the rtl with all these types defined > > >> (prefixed by "c", i.e. cshort, cchar, clong, ...) > > Why does rtl-documentation > (http://community.freep

Re[2]: [fpc-pascal] size of "long" on different platforms

2006-11-15 Thread Daniël Mantione
Op Wed, 15 Nov 2006, schreef ???: > > > On Tuesday 14 November 2006 22:28, Jonas Maebe wrote: > > >> There's a unit called ctypes in the rtl with all these types defined > > >> (prefixed by "c", i.e. cshort, cchar, clong, ...) > > Why does rtl-documentation > (http://community.fre

Re: [fpc-pascal] size of "long" on different platforms

2006-11-15 Thread Florian Klaempfl
Пётр Косаревский schrieb: >>> On Tuesday 14 November 2006 22:28, Jonas Maebe wrote: There's a unit called ctypes in the rtl with all these types defined (prefixed by "c", i.e. cshort, cchar, clong, ...) > > Why does rtl-documentation > (http://community.freepascal.org:1/docs-html/rt

Re[2]: [fpc-pascal] size of "long" on different platforms

2006-11-15 Thread Пётр Косаревский
> > On Tuesday 14 November 2006 22:28, Jonas Maebe wrote: > >> There's a unit called ctypes in the rtl with all these types defined > >> (prefixed by "c", i.e. cshort, cchar, clong, ...) Why does rtl-documentation (http://community.freepascal.org:1/docs-html/rtl/index.html) lack its descript