[fpc-devel] Unreachable code warnings

Michael Schnell mschnell at lumino.de
Thu Oct 18 11:18:49 CEST 2007

>> Could the warning not simply be switched off and on (or set to some kind of
>> level) by a {$... line ?
> It is on the to-do list already. However, I don't think it'll be the end 
> of the discussions; there will always be tension between the compiler 
> being helpfull to signal dubious code, and the compiler generating too 
> much noise.
The OP wanted to avoid a warning at a defined place in his code, because 
he is sure that the code he wrote __in these lines__ is correct. So 
being able to switch warnings on and off in the code would be easy to do 
and very helpful.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20071018/3be13b32/attachment.html>

More information about the fpc-devel mailing list