Re: [fpc-pascal] h2pas and implicit types

2006-09-08 Thread Marc Santhoff
Am Freitag, den 08.09.2006, 19:46 +0200 schrieb Mattias Gaertner: > I'm currently working on a h2pas gui for lazarus. > (lazarus/components/h2pas/h2paswizard.lpk). > > h2pas does not translate every c 'sugar'. 4. Example: Function pointers getting "void" type H5MM_allocate_t = void; function

Re: [fpc-pascal] h2pas and implicit types

2006-09-08 Thread Vinzent Höfler
Mattias Gaertner wrote: I'm currently working on a h2pas gui for lazarus. (lazarus/components/h2pas/h2paswizard.lpk). h2pas does not translate every c 'sugar'. 1. Example #define MPI_ARGV_NULL (char **)0 One translation could be: const MPI_ARGV_NULL: PPChar = nil; const MPI_ARGV_NULL =

Re: [fpc-pascal] line numbers in valgrind output ?

2006-09-08 Thread Peter Vreman
> >> > I can't figure out how to get source code filename & line numbers in > >> > Valgrind output. What is the correct flags association ? > >> > > >> > I tried -gv, -gv -g, -gv -gw, -gv -gl,... > >> > > >> > I'm using Valgrind 3.2.0 in Debian Etch GNU/linux for x86_64, Fpc > >> > >> 2.4.0 > >>

[fpc-pascal] h2pas and implicit types

2006-09-08 Thread Mattias Gaertner
I'm currently working on a h2pas gui for lazarus. (lazarus/components/h2pas/h2paswizard.lpk). h2pas does not translate every c 'sugar'. 1. Example #define MPI_ARGV_NULL (char **)0 One translation could be: const MPI_ARGV_NULL: PPChar = nil; What is the best way to handle this? In h2pas, or

Re: [fpc-pascal] presenting fpunit test results

2006-09-08 Thread Graeme Geldenhuys
On 9/8/06, Dean Zobec <[EMAIL PROTECTED]> wrote: At first sight, it seems that the methods StartTest and EndTest of the listeners are the right place where to place the code to do the timings. I guess the right approach would be to add an option at command line or otherwise to add the timing resu

Re: [fpc-pascal] 16bit String

2006-09-08 Thread Felipe Monteiro de Carvalho
Doesn´t WideString do the job for you? If you want a array of chars you can just use: MyString: array[0..255] of WideChar; -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/li

Re: [fpc-pascal] presenting fpunit test results

2006-09-08 Thread Vincent Snijders
Dean Zobec schreef: Graeme Geldenhuys ha scritto: Hi Vincent, Is is easy to add the list of executed tests (5 min job), but the missing feature I believe you are looking for is the timing results. Currently none of the fpcunit results contain timing values. This is something I wanted to add lo

[fpc-pascal] 16bit String

2006-09-08 Thread Antal
I was thingink, what if someone should implement in the fpc compiler a 16 bit String, which should work exactly as the 8bit string, which only can handle a 256 char long string. As long as we can define a string as an array of char, what if we can have a 16bit string, as an array of word? And

Re: [fpc-pascal] line numbers in valgrind output ?

2006-09-08 Thread Florian Klaempfl
Leducq Dominique wrote: > Le Vendredi 8 Septembre 2006 12:06, Peter Vreman a écrit : >>> Le Jeudi 7 Septembre 2006 20:42, Peter Vreman a écrit : > I can't figure out how to get source code filename & line numbers in > Valgrind output. What is the correct flags association ? > > I tr

Re: [fpc-pascal] line numbers in valgrind output ?

2006-09-08 Thread Leducq Dominique
Le Vendredi 8 Septembre 2006 12:06, Peter Vreman a écrit : > > Le Jeudi 7 Septembre 2006 20:42, Peter Vreman a écrit : > >> > I can't figure out how to get source code filename & line numbers in > >> > Valgrind output. What is the correct flags association ? > >> > > >> > I tried -gv, -gv -g, -gv -

RE: [fpc-pascal] Linux-Sparc Port of FPC 2.0.4

2006-09-08 Thread Wolfe, Robert
> -Original Message- > From: [EMAIL PROTECTED] [mailto:fpc-pascal- > [EMAIL PROTECTED] On Behalf Of Michael Van Canneyt > Sent: Friday, September 08, 2006 4:19 AM > To: FPC-Pascal users discussions > Subject: Re: [fpc-pascal] Linux-Sparc Port of FPC 2.0.4 > > > > On Thu, 7 Sep 2006, Wolf

Re: [fpc-pascal] presenting fpunit test results

2006-09-08 Thread Dean Zobec
Graeme Geldenhuys ha scritto: > Hi Vincent, > > Is is easy to add the list of executed tests (5 min job), but the > missing feature I believe you are looking for is the timing results. > Currently none of the fpcunit results contain timing values. This is > something I wanted to add long ago. Th

Re: [fpc-pascal] line numbers in valgrind output ?

2006-09-08 Thread Peter Vreman
> Le Jeudi 7 Septembre 2006 20:42, Peter Vreman a écrit : >> > I can't figure out how to get source code filename & line numbers in >> > Valgrind output. What is the correct flags association ? >> > >> > I tried -gv, -gv -g, -gv -gw, -gv -gl,... >> > >> > I'm using Valgrind 3.2.0 in Debian Etch GNU

Re: [fpc-pascal] Linux-Sparc Port of FPC 2.0.4

2006-09-08 Thread Michael Van Canneyt
On Thu, 7 Sep 2006, Wolfe, Robert wrote: Good afternoon all! Just signed up for the list to let everyone know that I have built version 2.0.4 of FPC for the Sparc-Linux platform. If anyone would be interested in getting their hands on this, please let me know. Can you make an install tarba