[fpc-devel] Warning: Constructor should be public
    "Vinzent Höfler" 
    JeLlyFish.software at gmx.net
       
    Tue Apr  7 16:00:54 CEST 2009
    
    
  
On Mon, Apr 6, 2009 at 10:15 PM, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
> And, i don't put an override to the constructor, so in my class the
> constructor is really a virtual override of the TObject.Create?
No, it's not and IMO this warning is indeed a questionable one. There are valid ("non-hack") use-cases for protected or even private constructors.
Vinzent.
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
    
    
More information about the fpc-devel
mailing list