[Lazarus] range check errors in LCL packages
nc-gaertnma at netcologne.de
Wed Sep 12 23:38:07 CEST 2012
On Wed, 12 Sep 2012 16:02:40 +0100
Graeme Geldenhuys <graeme at geldenhuys.co.uk> wrote:
> On 12/09/12 14:59, Mattias Gaertner wrote:
> > AFAIK many developers add range checking to the IDE build options so
> > many lazarus packages, including the LCL, are tested with range
> > checks.
> Fine, but various widgetsets have many compiler errors if -CRrt is
Compiler or runtime errors?
Can you point me to the bug reports?
> Surely these must be fixed, and enabling -CRrt by default will
> prevent such missages/bugs in future.
AFAIK -CT is not supported by the LCL.
> eg: Try to compile LCL-GTK2 with -CRrt enabled.
> Error: Class or Object types "TCustomBitBtn" and "TWinControlAccess" are
> not related
That's the old style class helper. Not usable with -CT.
> LCL-CustomDrawn compiles, but all apps give Segmentation Faults at runtime.
see Felipe's answers on custom drawn mailing list.
> I haven't tested LCL-Win32 or LCL-Qt yet.
More information about the Lazarus