> On Apr 12, 2019, at 10:15 AM, Michael Van Canneyt <[email protected]>
> wrote:
>
> That would break with the rule that directives do not cross unit boundaries.
> It has far-reaching consequences.
>
> Better introduce a command-line switch to set mode switches.
But is it maybe time we reconsider this or add an extension? It’s really
getting out of hand now.
Problem with compiler switches is that they’re decoupled from the program
itself and not documented in the actual programs source code. Honestly I’d
prefer all compiler switches be stored in the program file so we didn’t have
distribute extra files that contain command line arguments.
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal