[fpc-pascal] Incorrect hint message ? ( Hint: Local variable "b" does not seem to be initialized" )

2007-08-21 Thread Skybuck Flying
Hello, The following hint message is displayed, which I doubt is correct which makes it interesting: "project1.lpr(21,5) Hint: Local variable "b" does not seem to be initialized" Unfortunately the debugger is not working on my system, Lazarus does not have a disassembly view so I can't see

[fpc-pascal] Re: [lazarus] HelloWorld: gdb.exe crashes

2007-08-21 Thread Skybuck Flying
Hello, 1. I also tried a gui application 2. I also tried using the gdb.exe with another fpc compiler install, which doesn't crash but nothing happens. FreePascal and Lazarus claim to be software development tools so far it's FUD. Ok that statement jumped the gun ;) I ran the generated exe

Re: [fpc-pascal] Problem with interfaces

2007-08-21 Thread Joao Morais
Micha Nelissen wrote: Joao Morais wrote: The first call that I make to DefaultObj from *another* unit recreate the object, because, I don't know why, the _holder var points again to nil. Try to use a data watchpoint to watch when the variable is being changed. Hopefully that will point to the

Re: [fpc-pascal] h2pas and function types

2007-08-21 Thread Michael Van Canneyt
On Tue, 21 Aug 2007, Mattias Gaertner wrote: > It seems h2pas silently skips function types. > > For example h2pas simply skips the following typedef without any trace > in the translation: > > typedef int (MPI_Comm_copy_attr_function)(MPI_Comm, int, void *, void > *, void *, int *); > > In

[fpc-pascal] h2pas and function types

2007-08-21 Thread Mattias Gaertner
It seems h2pas silently skips function types. For example h2pas simply skips the following typedef without any trace in the translation: typedef int (MPI_Comm_copy_attr_function)(MPI_Comm, int, void *, void *, void *, int *); In the h2pas.pas code I found something that looks promising: around

[fpc-pascal] Re: [fpc-devel] Object Pascal books

2007-08-21 Thread Michael Van Canneyt
On Mon, 20 Aug 2007, Paschal Mushubi wrote: > Hi All > Could you recommend good introduction and reference books for Object Pascal? > I mean books about the language not the frameworks. Look on the web for Marco Cantu's book. I think this is pretty much what you are looking for. Marco has a web