Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2001-09

error in FPC docs

3 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Sergey Korshunoff

Hello!
1 ======================================================== When the compiler encounters a call to an object's constructor, it sets up the stack frame for the call, and inserts a call to the \var{FPC\_HELP\_DESTRUCTOR} procedure before issuing the call to the real ??????????
constructor.
The helper procedure allocates the needed memory (if needed) and inserts the VMT pointer in the object. After that, the real constructor is called. =========================================================

2 ========================================================== The reason for this is that it has little sense in making a smarlinked t?
dynamical library. The whole shared library is loaded into memory anyway by the dynamic linker (or the operating system), so there would be no gain in ===========================================================

Regards,
Sergey Korshunoff

Reply by email

Unknown author
to Sergey Korshunoff
Sergey Korshunoff wrote 6 lines
Hello! 1 ======================================================== When the compiler encounters a call to an object's constructor, it sets up the stack frame for the call, and inserts a call to the \var{FPC\_HELP\_DESTRUCTOR} procedure before issuing the call to the real ??????????

What is your problem here ?

Show quoted text 8 lines
constructor. The helper procedure allocates the needed memory (if needed) and inserts the VMT pointer in the object. After that, the real constructor is called. ========================================================= 2 ========================================================== The reason for this is that it has little sense in making a smarlinked t?

Fixed.

dynamical library. The whole shared library is loaded into memory anyway by the dynamic linker (or the operating system), so there would be no gain in ===========================================================

Thanks for reporting this.
Please indicate in which manual you find bugs.

Michael.

Reply by email

Jonas Maebe
to Unknown author
Show quoted text 8 lines
> 1 ======================================================== > When the compiler encounters a call to an object's constructor, > it sets up the stack frame for the call, and inserts a call to the > \var{FPC\_HELP\_DESTRUCTOR} procedure before issuing the call to the > real > ?????????? What is your problem here ?

I think the fact that is talks about constructing objects and then mention fpc_help_DESTRUCTOR :)

Jonas

Reply by email