[fpc-pascal] mode switch madness
Ryan Joseph
ryan at thealchemistguild.com
Fri Apr 12 16:08:02 CEST 2019
Can I propose we add a new $modeswitch-all (or some equivalent) that globally sets modeswitch in all subsequent units? I’m thinking about how messy this list is getting after these new mode switches are added and that the problem is only going to grow. I really like how FPC lets us opt into specific features but it’s becoming unruly and tedious.
Even if this isn’t the best solution anything resembling a manager or wrangler would be good.
program test;
{$modeswitch-all autoderef}
{$modeswitch-all advancedrecords}
{$modeswitch-all typehelpers}
{$modeswitch-all multihelpers}
{$modeswitch-all implicitfunctionspecialization}
...
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list