Sign in Join

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

Mailing lists / fpc-devel / 2000-09

Delphi 5 with 'overload'

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Thomas Schatzl

Hello,

if using Delphi 5 and overloading you _must_ add the 'overload' identifier to both the interface _and_ the implementation section.

FPC does not allow the overload identifier in the implementation section of a unit however.

Regards,
Thomas

Reply by email

Thomas Schatzl
to Thomas Schatzl

Note: I checked myselves - D5 allows both, e.g. with and without the 'overload' in the implementation section.

The problem is that FPC 1.0 (according to the one who reported) _needs_ the 'overload' both in the implementation and interface section while FPC 1.1 does _not_ allow that. [With {$MODE DELPHI} btw]

This happened to a misunderstanding of a bug report on my side. Sorry for reporting this.

Regards,
Thomas

Subject: [fpc-devel]Delphi 5 with 'overload'

Show quoted text 6 lines
Hello, if using Delphi 5 and overloading you _must_ add the 'overload' identifier to both the interface _and_ the implementation section. FPC does not allow the overload identifier in the implementation section

of

a unit however. Regards, Thomas

Reply by email

Unknown author
Show quoted text 9 lines
Note: I checked myselves - D5 allows both, e.g. with and without the 'overload' in the implementation section. The problem is that FPC 1.0 (according to the one who reported) _needs_ the 'overload' both in the implementation and interface section while FPC 1.1 does _not_ allow that. [With {$MODE DELPHI} btw] This happened to a misunderstanding of a bug report on my side. Sorry for reporting this.

Did you try a snapshot of the last 2 days? It should be fixed.

Reply by email

Thomas Schatzl
to Unknown author

Thanks, it works now exactly like D5 does.

Thomas

Subject: Re: [fpc-devel]Delphi 5 with 'overload'

> Note: I checked myselves - D5 allows both, e.g. with and without the > 'overload' in the implementation section. > > The problem is that FPC 1.0 (according to the one who reported) _needs_

the

> 'overload' both in the implementation and interface section while FPC

1.1

> does _not_ allow that. [With {$MODE DELPHI} btw] > > This happened to a misunderstanding of a bug report on my side. Sorry

for

> reporting this. Did you try a snapshot of the last 2 days? It should be fixed.

Reply by email