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

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to