[fpc-pascal] const records passed incorrectly
Marco van de Voort
marcov at stack.nl
Mon Nov 16 19:39:45 CET 2009
In our previous episode, Jürgen Hestermann said:
> > In
> > general we try to be Delphi compatible as much as time and
> > backward compatibility permits.
>
> I hate it if bugs or illogical things are copied from Delphi. It may be
> the case that Delphi vanishes one day. Then we still would have all these
> bugs in FPC/Lazarus cast in stone forever. I think we should not slavish
> copy whatever Delphi does. Even if migration is a bit more work, the
> result of a cleaner and more logical code justifies it.
I don't agree in general. It makes sharing code (not migration) very hard.
However in this case, there is much less installed base on Delphi, since
most dlls simply use stdcall
More information about the fpc-pascal
mailing list