Mark Morgan Lloyd <markmll.fpc-pas...@telemetry.co.uk> schrieb am Do., 21. Juni 2018, 09:11:
> On 20/06/18 20:00, Sven Barth via fpc-pascal wrote: > > > Addendum: the support for the "+" operator is now coupled to a new > > modeswitch "ArrayOperators". > > If the modeswitch is enabled, then the operator can not be overloaded > > and it also won't be used even if an overload from a unit without the > > modeswitch is in scope (the compiler however issues a warning if this is > > the case, so you can either remove the overload or disable the > > modeswitch). If the modeswitch is not enabled then everything behaves as > > before. > > The modeswitch is enabled by default in Delphi modes as this feature was > > added for Delphi compatibility. If you want to disable it in those modes > > then you need to do this: > > === code begin === > > {$mode delphi}{$modeswitch arrayoperators-} // Note the "-" > > === code end === > > Sven, please could we have a further update when you decide what version > of the compiler will get the new facility, so that those of us with code > that might clash can make sure we have version-specific conditionals in > place. > New language features are normally not merged to a fixes branch (there were exceptions in the past, but they weren't too big). So if you check for >= 3.1.1 you're set. Regards, Sven >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal