[fpc-pascal] Abstract classes ignored
Sven Barth
pascaldragon at googlemail.com
Sun Apr 18 22:53:41 CEST 2021
Jonas Maebe via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am
So., 18. Apr. 2021, 21:19:
> On 18/04/2021 18:08, Jonas Maebe via fpc-pascal wrote:
> > In this case, you
> > can easily make it an error yourself with {$warn 4046 error}.
>
> Correction: that's make it an error to construct a classes that contain
> abstract methods. For abstract classes, it's {$warn 4122 error}
>
Or as I had written already: {$WARN CONSTRUCTING_ABSTRACT ERROR}. This will
switch both warnings to error.
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20210418/d128c86c/attachment-0001.htm>
More information about the fpc-pascal
mailing list