Mattias Gaertner <nc-gaert...@netcologne.de> schrieb am Do., 21. Juni 2018, 09:24:
> On Wed, 20 Jun 2018 21:56:56 +0200 > Sven Barth via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote: > > >[...] > > The modeswitch is enabled by default in Delphi modes as this feature was > > added for Delphi compatibility. > > I would like to use that for objfpc. > Is there a command line flag to enable a modeswitch? > Not tested, but -MArrayOperators *should* work (it takes both modes and modeswitches). One point to keep in mind however: any single modeswitch setting is overwritten once a mode is encountered, this includes both the $mode directive and the -M option (or e.g. -S2). Regards, Sven >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal