[fpc-pascal] fpdoc with UML output

2006-09-16 Thread Graeme Geldenhuys
Hi, I got a request from a developer in the tiOPF News Groups regarding fpDoc. I showed them some output of fpdoc against the tiOPF source code. One of the requests was that of including a UML diagram in the documentation of a unit. I thought that was an excellent idea. I can clearly see how

Re: [fpc-pascal] Please Help - Need ONE HINT - Trying to get

2006-09-16 Thread Micha Nelissen
Jason P Sage wrote: > I was trying to avoid sysutils sleep(0) in linux platform due to the size of > sysutils. The fact I don't know how to make dynamic linking work on linux > yet - (use shared libs versus static) makes my exe's bigger than I would > like. In most of my applications, size isn't an

Re: [fpc-pascal] 204 Compiler

2006-09-16 Thread Marc Santhoff
Am Donnerstag, den 14.09.2006, 19:25 +0200 schrieb Jonas Maebe: > On 14 Sep 2006, at 19:20, Marc Santhoff wrote: > > > Fpc 2.0.2 was used in the precompiled version packaged with a set of > > binutils. > > As the subject indicates, this is about FPC 2.0.4 If there is no crosscompiler involved, f

Re: [fpc-pascal] Please Help - Need ONE HINT - Trying to get

2006-09-16 Thread Marc Santhoff
Am Samstag, den 16.09.2006, 09:54 -0400 schrieb Jason P Sage: > >Jason Sage wrote: > > Hi all - and thanks to who ever can respond in advance. > > > > > > > > I have a Server Like App - I need the equivalent of sched_yield > > > >Tried sleep(0); yet ? > > > > > > Micha > > Yes. Sleep has been

Re: [fpc-pascal] Please Help - Need ONE HINT - Trying to get

2006-09-16 Thread Jason P Sage
>Jason Sage wrote: > Hi all - and thanks to who ever can respond in advance. > > > > I have a Server Like App - I need the equivalent of sched_yield > >Tried sleep(0); yet ? > > > Micha Yes. Sleep has been added where appropriate. I didn't know to try Sleep ZERO. That sounds better than my Sle

[fpc-pascal] problem freeing strings

2006-09-16 Thread Marc Santhoff
Hi, when running a program that is working it SIGSEGVs at the finalization: <--- snip ---> (gdb) r Starting program: /usr/home/marc/tmp/test/./h5_attribute ping The value of the attribute "Integer attribute" is 1 The value of the attribute with index 2 is ABCD Name : "Float attribute" Rank : 2

Re: [fpc-pascal] multidimensional dynarrays SetLenght and memory layout

2006-09-16 Thread Marc Santhoff
Am Samstag, den 16.09.2006, 09:45 +0200 schrieb Florian Klaempfl: > Marc Santhoff schrieb: > > Hi, > > > > since I managed to get static arrays handed over to a C library I want > > to know if this is possible for dynamic arrays too. > > > > I browsed the docs and source but I'm not able to find

Re: [fpc-pascal] multidimensional dynarrays SetLenght and memory layout

2006-09-16 Thread Florian Klaempfl
Marc Santhoff schrieb: Hi, since I managed to get static arrays handed over to a C library I want to know if this is possible for dynamic arrays too. I browsed the docs and source but I'm not able to find the actual implementation of the SetLength() procedure for dynarrays. rtl/inc/dynarr.in

Re: [fpc-pascal] Updating to 2.0.4 bugreport

2006-09-16 Thread Jonas Maebe
On 15 Sep 2006, at 20:01, Rainer Stratmann wrote: the update on 2.0.4 shows some bugs: var dirstr:string getdir(0,dirstr); // <- not works (on linux), the result is a string with length 0 The Compiler switch "Use register-variables" (switch off state) seems not to work. Please repor