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.

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?

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to