On Wed, 12 Sep 2012 16:02:40 +0100
Graeme Geldenhuys <[email protected]> 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 
> enabled. 

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.
> 
> 
> /home/graemeg/devel/lazarus/lcl/interfaces/gtk2/gtk2wsbuttons.pp(237,35) 
> 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.


Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to