[fpc-pascal] Classes with abstract methods

Peter Vreman peter at freepascal.org
Mon Jan 14 11:50:49 CET 2008


>> >It is allowed to create such instances: as long as you don't call any of the
>> >abstract methods, there will be no problem.
>>
>>
>> Is there a way to abort the compilation in this cases instead of a warning ?
>
> Currently not.

You can abort compilation in case of any warning with the -Sew option. The same goes for note or
hint with -Sen or -Seh, but those are only usefull for compiler tests.

Peter





More information about the fpc-pascal mailing list