Ryan Joseph via fpc-pascal <fpc-pascal@lists.freepascal.org> schrieb am So., 1. Dez. 2019, 23:11:
> > > > On Nov 30, 2019, at 1:04 PM, Sven Barth via fpc-pascal < > fpc-pascal@lists.freepascal.org> wrote: > > > > Well, if you want you can find any place where the _SPECIALIZE and > _GENERIC tokens are used and checked against mode Delphi to check against a > new modeswitch instead ("GENERICKEYWORDS") which must be enabled by default > in all modes except the Delphi ones. > > So to get Delphi mode style generics in ObjFPC mode you need to disable > the modeswitch? That's kind of backwards from what mode switches usually > do but it makes sense. How do you even disable a mode switch? > Well, you disable a feature that a mode provides. Some strange there... And it's simply done as with other switches: {$modeswitch xyz-} (I don't know right now whether "off" is supported as well) Regards, Sven >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal