[fpc-devel] Unreachable code warnings

Micha Nelissen micha at neli.hopto.org
Sun Oct 14 23:33:58 CEST 2007


Florian Klaempfl wrote:
>> Maybe it would better be a hint.
> 
> With the same reasoning you could make every warning a hint. Instead of
> if one usually uses asserts to check certain conditions.

Most are about bad code, that can be made better, AFAIK. E.g. 'an
inherited method is hidden' needs a 'override;' or 'reintroduce;'.

Micha



More information about the fpc-devel mailing list