Zitat von Mark Morgan Lloyd <markmll.fpc-pas...@telemetry.co.uk>:

> dhkblas...@zeelandnet.nl wrote:
>
> >> FPC 2.2.0 is giving me duplicate identifier errors for "sort" and
> >> "strings" above.
>
> > Add {$mode delphi} to the top of your unit. ObjFPC mode is more strict.
>
> Thanks, I think that fixes it although I'm still working through the
> affected unit.

fix <> workaround ;)


> I presume I'm correct in assuming {$mode delphi} operates strictly on
> the syntax of the current unit without affecting cross-unit operations.
>
> Are there cases where it can't be used? Specifically, can it be put in a
> Lazarus .lpr file where this is a transcript of a Delphi .dpr?

Yes.

Mattias

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to