<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Adriaan van Os via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Fr., 5. Feb. 2021, 10:50:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Adriaan van Os via fpc-pascal wrote:<br>
> Jonas Maebe via fpc-pascal wrote:<br>
>> On 2021-02-05 09:24, Adriaan van Os via fpc-pascal wrote:<br>
>>> It's crazy !<br>
>>> <<a href="https://bugs.freepascal.org/view.php?id=38440" rel="noreferrer noreferrer" target="_blank">https://bugs.freepascal.org/view.php?id=38440</a>><br>
>><br>
>> The default fpc.cfg file contains this (both in 3.0.4 and 3.2.0):<br>
>><br>
> <br>
> Thanks for tne reply.<br>
> <br>
>> # For a debug version compile with debuginfo and all codegeneration <br>
>> checks on<br>
>> #IFDEF DEBUG<br>
>>   -gl<br>
>>   -Crtoi<br>
>>   #WRITE Compiling Debug Version<br>
>> #ENDIF<br>
> <br>
> I find such sneaky configuration files an extremely bad idea !<br>
<br>
Also<br>
<br>
1. Section 1.3.31 of the Programmer's manual says "By default, no stack checking is performed."<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">The default of the compiler *without* a configuration file (maybe we should mention that somewhere in the Programmer's Guide). For example C operators are disabled by default as well (see Programmer's Guide 1.2.10), but the default configuration file enables them. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div></div>