On Mon, 14 Jan 2008, Damien Gerard wrote:

> 
> With fpc you can get "myfile.pas(77,47) Warning: Constructing a class "xxxx"
> with abstract methods"
> I just would like to know why it is allowed to build classes with abstract
> methods. AFIK it is different from other compilers and it is a bit strange for
> me.

Delphi gives exactly the same warning.

It is allowed to create such instances: as long as you don't call any of the
abstract methods, there will be no problem.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to