[Lazarus] How to recompile whole Lazarus with range check on?

Alexander Klenin klenin at gmail.com
Tue Sep 13 03:39:54 CEST 2011


On Tue, Sep 13, 2011 at 08:03, Mattias Gaertner
<nc-gaertnma at netcologne.de> wrote:
> On Tue, 13 Sep 2011 04:13:26 +1100
> Alexander Klenin <klenin at gmail.com> wrote:
>
>> The obvious method seems to add "-Cr" to the options
>> in the "Configure build profile" dialog.
>> However, it does not seem to affect packages,
>> which are still compiled without range check
>> Is there ane method to turn the range check globally?
>
> fpc.cfg

If you mean adding @lazfpc.cfg to options -- I tried it,
it did not work.
If you mean editing global fpc.cfg, then building,
then editing it back -- this seems too cumbersome.
Is this really the only way? IIUC, some people always build Lazarus with -Cr
I wonder how do they achieve it without hampering other projects?

-- 
Alexander S. Klenin




More information about the Lazarus mailing list