[fpc-pascal] Classes with abstract methods

Peter Vreman peter at freepascal.org
Mon Jan 14 15:45:53 CET 2008


>>> The problem with this mechanism is that if you have another
>>> warning which occurs first,
>>> that will stop your compilation, you'll never get to the abstract
>>> warning...
>>
>> I agree.
>> May be a new option in a future release of fpc ? :)
>> It would be nice to have a switch to do it.
>
> There is already a feature request for the ability to turn off/on
> certain warnings in Mantis. Upgrading certain warnings (and hints/
> notes) to errors is quite related. It should be quite doable for an
> outsider to implement this sort functionality, but until now no one
> has volunteered yet.

Upgrade a warning to error can already be done by editing (replace a W with an E) the errore.msg
yourself and pass the modified errore.msg to the compiler with -Fr.

Peter





More information about the fpc-pascal mailing list