[fpc-devel] programmers guide 2.6 issue
Pierre Free Pascal
pierre at freepascal.org
Wed Jan 8 14:35:36 CET 2014
Hi John,
in the scanner.pas unit
procedure dir_include,
code starting around line 2324 on current trunk,
you can see that there are only a few special
names allowed.
If there is no match, the compiler looks for
an environment string with that name.
This might be the solution for your problem...
Otherwise you can try to submit a patch
adding such an option.
Pierre
> -----Message d'origine-----
> De : fpc-devel-bounces at lists.freepascal.org [mailto:fpc-devel-
> bounces at lists.freepascal.org] De la part de John Lee
> Envoyé : mercredi 8 janvier 2014 14:21
> À : FPC developers' list
> Objet : [fpc-devel] programmers guide 2.6 issue
>
> In Pascal programmers guide v2.6 Feb 2013 it explains how to use {$I
> ... } to include compiler information eg version string, time string
> etc so one can include eg in a writeln, but it does not mention not
> the optimisation level at which program was compiled.
>
> Is this an omission or is this info elsewhere? If so where 7 how do I
> do it please?
>
> TIA
>
> John
More information about the fpc-devel
mailing list