[fpc-devel] Warning: Constructor should be public

Léo Willian Kölln leokolln at gmail.com
Tue Apr 7 19:11:10 CEST 2009

So, what can we do?

Fill a bug report? There is one here about this:

Closed. I see the status "resolved => closed " as wrong! It´s not
resolved even if it is known and proposed!

I can´t make a path now, no time... Someone here can? I don´t see this
as complicated. Just get rid of it!

Léo Willian Kölln

On Tue, Apr 7, 2009 at 11:00 AM, "Vinzent Höfler"
<JeLlyFish.software at gmx.net> wrote:
> 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
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel

More information about the fpc-devel mailing list