[fpc-pascal] Statically linked-in fpc code

Sven Barth pascaldragon at googlemail.com
Fri Feb 5 14:13:47 CET 2021


Adriaan van Os via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am
Fr., 5. Feb. 2021, 10:50:

> Adriaan van Os via fpc-pascal wrote:
> > Jonas Maebe via fpc-pascal wrote:
> >> On 2021-02-05 09:24, Adriaan van Os via fpc-pascal wrote:
> >>> It's crazy !
> >>> <https://bugs.freepascal.org/view.php?id=38440>
> >>
> >> The default fpc.cfg file contains this (both in 3.0.4 and 3.2.0):
> >>
> >
> > Thanks for tne reply.
> >
> >> # For a debug version compile with debuginfo and all codegeneration
> >> checks on
> >> #IFDEF DEBUG
> >>   -gl
> >>   -Crtoi
> >>   #WRITE Compiling Debug Version
> >> #ENDIF
> >
> > I find such sneaky configuration files an extremely bad idea !
>
> Also
>
> 1. Section 1.3.31 of the Programmer's manual says "By default, no stack
> checking is performed."
>

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.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20210205/34e2bcde/attachment.htm>


More information about the fpc-pascal mailing list