[lazarus] classesh.inc change required

Michael A. Hess mhess at miraclec.com
Mon Dec 20 22:13:44 EST 1999


vital at videotron.ca wrote:
> 
> >
> >+++++++++++++ From the manuals ++++++++++++++++++
> >
> >D.3 Delphi mode
> >
> >This mode is selected by the $MODE DELPHI switch. On the
> >command-line, this mode is selected by the -Sd switch.
> >1. You can not use the address operator to assign procedural
> >   variables.
> >2. A forward declaration must not be repeated exactly the same by the
> >   implementation of a function/procedure. In particular, you can not
> >   omit the parameters when implementing the function or procedure.
> >3. Overloading of functions is not allowed.
> >
> >+++++++++++++++++++++++++++++++++++++++++++
> >
> >This wasn't the whole listing, just up to item 3 which is the
> >problem. We can't write in Delphi mode with FPC and use overloading.
> 
> Well then, considering that Delphi, now, have implementation of
> overloading, what about to intend to modify the $MODE DELPHI switch so
> that overloading still be possible. That should'n cause compatibity
> probleme IMHO.

That is up to the compiler guys. MVC or Peter is there a reason why
Delphi mode can't do overloading?

-- 
==== Programming my first best destiny! ====

Michael A. Hess      Miracle Concepts, Inc.
mhess at miraclec.com   http://www.miraclec.com






More information about the Lazarus mailing list