On Sun, Oct 8, 2017 at 1:38 AM, Mr Bee via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote: > Hi, > > Is there any FPC command line option for writable constanst directive {$J} > or {$WRITEABLECONST} ? > > Since I knew this directive, I always set it to {$J-} (because {$J+} is > ridiculous). However, sometimes I forget to put it in to my source code. So, > I'd like to put it in to a batch script that calls fpc with all the required > compiler settings for all my programs. Unfortunately, I haven't found > compiler option for this directive. > > Any help is appreciated. Thank you.
Most developers are using single .inc file that contains all directives for the whole project. You only need to remember to include this file in all units of your projects. Regards, Marcos Douglas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal