[lazarus] Compiler warning

Marc Weustink Marc.Weustink at cuperus.nl
Thu Mar 1 04:58:52 EST 2001


+ From: Shane Miller [mailto:shane001 at ameritech.net]
+
+
+ Shouldn't you do an override or is that what you are trying to do?

AFAIK the constructor of TObject isn't virtual.

Now I think of it, maybe it is consequent and does Delphi not complain on
this.

Marc



+
+ Shane
+
+ ----- Original Message -----
+ From: "Marc Weustink" <marc at lazarus.dommelstein.net>
+ To: <lazarus at miraclec.com>
+ Sent: Wednesday, February 28, 2001 5:44 PM
+ Subject: [lazarus] Compiler warning
+
+
+ > HI,
+ >
+ > Maybe it's time to go to bed and am I missing something...
+ but can someone
+ > explain why the compiler warns if I want to create a
+ virtual constructor
+ in
+ > a class derived from TObject ?
+ >
+ > debugger.pp(71,6) Warning: An inherited method is hidden by
+ TDEBUGGER.CREATE
+ >
+ > Marc
+ >
+ > _________________________________________________________________
+ >      To unsubscribe: mail lazarus-request at miraclec.com with
+ >                 "unsubscribe" as the Subject
+ >     archives at http://www.miraclec.com/list_archives/lazarus
+ >
+
+ _________________________________________________________________
+      To unsubscribe: mail lazarus-request at miraclec.com with
+                 "unsubscribe" as the Subject
+     archives at http://www.miraclec.com/list_archives/lazarus
+






More information about the Lazarus mailing list