So, what can we do?
Fill a bug report? There is one here about this:
http://bugs.freepascal.org/view.php?id=11526
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
On Mon, Apr 6, 2009 at 10:15 PM, Graeme Geldenhuys
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-case
Just to clarify the bloated code, i'm using the same code to compile
on Delphi (Windows) and FPC (*nix).
> I have a much easier "lazy man's" singleton for you... It's not 100%,
> but then, I have *never* seen a singleton implementation in Delphi or
> FPC that is 100%. Simply access the singleton
On Mon, Apr 6, 2009 at 10:15 PM, Graeme Geldenhuys
wrote:
> 2009/4/6 Flávio Etrusco :
>> Actually, your constructor has the same signature as 'TObject.Create',
>> so it should show a 'lower visibility' warning in Delphi, doesn't it?
>
> Correct, Delphi should also give this warning.
If it was a v