[fpc-pascal] compiler option for $J directive

Marcos Douglas B. Santos md at delfire.net
Sun Oct 8 18:17:10 CEST 2017

On Sun, Oct 8, 2017 at 1:38 AM, Mr Bee via fpc-pascal
<fpc-pascal at lists.freepascal.org> wrote:
> Hi,
> Is there any FPC command line option for writable constanst directive {$J}
> 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.

Marcos Douglas

More information about the fpc-pascal mailing list