[fpc-devel] Unreachable code warnings

Daniël Mantione daniel.mantione at freepascal.org
Mon Oct 15 11:36:16 CEST 2007



Op Mon, 15 Oct 2007, schreef Michael Schnell:

> 
> > So I guess the warning stays. We can discuss some extensions which makes
> > it easier to code such restrictions like merging parts of the tue branch.
> > 
> 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.

Daniël


More information about the fpc-devel mailing list