[fpc-devel] about {$OPTIMIZATION xxx} // Re: error in docs ?

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Feb 6 20:50:11 CET 2014


On Thu, 06 Feb 2014 20:41:32 +0100
Sven Barth <pascaldragon at googlemail.com> wrote:

>[...]
> >> {$OPTIMIZATION -usemachspeed}
> >> Note the "-", fpc accepts everithing, if there is a dash, why.
> >
> > - is off.
> > Everything behind is a comment.

The flag directives like H, I, R, RangeChecks work like this.
 
> Looking at the code parsing the option string I would say no... at least 
> in 2.7.1.

An exception that proves the rule. ;)

Mattias



More information about the fpc-devel mailing list