[fpc-devel] error in docs ?

Sven Barth pascaldragon at googlemail.com
Thu Feb 6 19:41:48 CET 2014


On 06.02.2014 18:48, Martin Frb wrote:
> http://www.freepascal.org/docs-html/prog/progsu58.html#x64-630001.1.58
>
>> Example:
>>
>> {$OPTIMIZATION ON}
>>
>> is equivalent to
>>
>> {$OPTIMIZATION 2}
>
> "2" is not in the list of supported keywords.
>
> And at least {$OPTIMIZATION 1} gives an compile error

It should be {$OPTIMIZATION LEVEL2} instead (and {$OPTIMIZATION LEVEL1})

Regards,
Sven




More information about the fpc-devel mailing list