On Tue, Feb 25, 2025 at 10:35 PM Tomas Hajny via fpc-devel
<[email protected]> wrote:
> No, it's because you used a different compilation mode _and_ FPC treats
> @ differently depending on the compilation mode. If you change "{$mode
> fpc}" to "{$mode delphi}" <snip> I guess that Delphi 7 might give you the
> same
> result, but I might be wrong.
(Slaps himself in the face...)
Yeah, right.
Ifdef-ed the @ in @dummyproc for fpc only and D7 outputs the same.
Still leaves my questions though:
> Q1: do we have some documentation about this overload selection process?
> Q2: if not, then is the observed behaviour of current fpc by design or
> undefined?
--
Bart
_______________________________________________
fpc-devel maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel