On Tue, Sep 13, 2011 at 08:03, Mattias Gaertner <[email protected]> wrote: > On Tue, 13 Sep 2011 04:13:26 +1100 > Alexander Klenin <[email protected]> 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 -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
