[fpc-devel] Warning: Constructor should be public

Léo Willian Kölln leokolln at gmail.com
Tue Apr 7 13:25:59 CEST 2009


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 via the gMySingleton
> method.

I liked it, but i cant use it, is too lazy and i'm a very very strict
old boring man! :P

Léo Willian Kölln



More information about the fpc-devel mailing list