Re: [fpc-pascal] Compiling JCL

2009-10-30 Thread Juha Manninen
Hi, > The JCL is not very portable, and worse, non-portable and portable parts > are not very well separated. They have half of the units depending on > units that try to read the borland debug format etc. It is strange because there are conditional compilation IFDEFs for FPC. Why to include th

Re: [fpc-pascal] Compiling JCL

2009-10-30 Thread Marco van de Voort
In our previous episode, Juha Manninen said: > How to compile and build jcl? > Should I try an older version? > Now I have the latest public version jcl-2.01.3449-linux. > I tried to compile the jcl package and got the same ULARGE_INTEGER error. > Then I commented out the {$IFNDEF FPC} in JclBase.p

[fpc-pascal] Compiling JCL

2009-10-30 Thread Juha Manninen
Uhh... How to compile and build jcl? Should I try an older version? Now I have the latest public version jcl-2.01.3449-linux. I tried to compile the jcl package and got the same ULARGE_INTEGER error. Then I commented out the {$IFNDEF FPC} in JclBase.pas to let ULARGE_INTEGER be defined. Then I get

[fpc-pascal] Lazarus 0.9.28.2 released

2009-10-30 Thread Vincent Snijders
The Lazarus team is glad to announce the 0.9.28.2 release. This release is based on fpc 2.2.4. This release can be downloaded from the SourceForge download page: http://sourceforge.net/projects/lazarus/files/ The Lazarus 0.9.28 release had two known issues. This release fixes: * Fixed compiling

[fpc-pascal] Compiling JCL and ULARGE_INTEGER

2009-10-30 Thread Juha Manninen
In my project I include JclCompression unit from jcl 2.01. Compilation ends with error: Identifier not found "ULARGE_INTEGER" in JclBase.pas. The code defines ULARGE_INTEGER just before the error line, but only if FPC is not defined! Why so? Should ULARGE_INTEGER be defined somewhere in fpc li

Re: [fpc-pascal] Compiler allows strange statement

2009-10-30 Thread Vincent Snijders
Jonas Maebe schreef: On 30 Oct 2009, at 15:38, Vincent Snijders wrote: Also attached sample program compiles without error. Why is there no error on the line: @C.Test; Looks like a compiler bug to me. I thought so too, thanks for confirming. I reported it: http://bugs.freepascal.org/vie

Re: [fpc-pascal] Compiler allows strange statement

2009-10-30 Thread Jonas Maebe
On 30 Oct 2009, at 15:38, Vincent Snijders wrote: Also attached sample program compiles without error. Why is there no error on the line: @C.Test; Looks like a compiler bug to me. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.or

[fpc-pascal] Compiler allows strange statement

2009-10-30 Thread Vincent Snijders
Hi, I looked at http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/fcl-db/tests/testfieldtypes.pas?r1=13971&r2=13970 and did not understand the meaning of: @ASQLQuery.ExecSQL; To me it seems just a address of a method, not a statement that the compiler can execute. But the compiler

Re: [fpc-pascal] memory mapped file

2009-10-30 Thread Henry Vermaak
2009/10/30 Alexey Voytsehovich : > All the good days. >    You can not tell what I need to read and/or study for solving > cross-platform (linux/windows) implementation of the memory mapped file? The wikipedia article on memory mapped files seems to be a good place to start ;) (i.e. mmap and crea

[fpc-pascal] memory mapped file

2009-10-30 Thread Alexey Voytsehovich
All the good days. You can not tell what I need to read and/or study for solving cross-platform (linux/windows) implementation of the memory mapped file? Thanks in advance. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.fr