[fpc-pascal] String error on Windows

Sven Barth pascaldragon at googlemail.com
Mon Nov 1 11:07:44 CET 2021


Am 31.10.2021 um 12:20 schrieb Ryan Joseph via fpc-pascal:
>
>> On Oct 31, 2021, at 2:53 PM, Jonas Maebe via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>>
>> The compiler itself does enable them by the default on any platform. However, the fpc.cfg file that gets installed with FPC on all platforms does enable them by default (it contains -Sgic). Compile with -vt and check where the compiler is getting its configuration file from.
> Thanks, I see -Sc now but I've always taken for granted it was always there. What confused me is that it's a command line option instead of a mode switch like other language features.
It's simply a separate directive: $COperators. The advantage of having 
it (and some others) separate is that any mode directive in the source 
will reset any modeswitches that were set on the command line.

Regards,
Sven


More information about the fpc-pascal mailing list