[fpc-pascal] [Announce] ICU4PAS 3.6

2007-05-24 Thread Milan Marusinec
Dear Friends of FreePascal, I am pleased to announce I have done a complete C/C++ headers conversion of the ICU 3.6 into the Object Pascal language. It is a Direct Class Wrapper over the ICU shared libraries. It provides all of the functionality as the C/C++ version, including all of the object

Re: [fpc-pascal] gcc beats fpc again

2007-05-24 Thread Marc Weustink
Daniël Mantione wrote: Op Wed, 23 May 2007, schreef Bisma Jayadi: No C programs have been submitted recently. It is probably the new broken scoring system. Is Shootout using new scoring system? How did you know that? See the long thread on the forum. It penalizes Pascal because we have a b

[fpc-pascal] x86_64 linking issue (2.1.4)

2007-05-24 Thread Alan Krause
I have successfully ported a Delphi DLL to a compiled shared library under 32-bit linux using free pascal, and it works wonderfully. Yesterday, I decided to try and port it over to the x86_64 architecture on linux. For the most part, everything went smoothly - there was a small issue which I

Re: [fpc-pascal] problem with threads and backgrounding, fpc 2.1.3 arm native

2007-05-24 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: This is another test program that shows my problem with fork: as soon as I start the thread, the main program stops working (the thread *is* running, you can put a writeln in its loop to show it). Note that in this short example I don't close stdin,stdout,stderr,

Re: [fpc-pascal] Dynamic array as return type of functions

2007-05-24 Thread Tom Verhoeff
On Wed, May 23, 2007 at 05:48:32PM +0300, Christos Chryssochoidis wrote: > > On 23 Μαϊ 2007, at 3:05 ΜΜ, Tom Verhoeff wrote: > > >It is not a trick, but has to do with type compatibility issues > >(and history, I guess). > > I see. If I understand well, Pascal uses some sort of declaration > e

Re: [fpc-pascal] Dynamic array as return type of functions

2007-05-24 Thread Christos Chryssochoidis
On 23 Μαϊ 2007, at 3:05 ΜΜ, Tom Verhoeff wrote: On Wed, May 23, 2007 at 11:36:20AM +0300, Christos Chryssochoidis wrote: It *is* allowed. The only trick is that you have to declare a type for your dynamic array, i.e. you have to write something like Yes, I have noticed that if you first