suppressing hints[Re: [fpc-pascal] How to solve "variable does not seem to =?iso-8859-1?q?be=09initialized?=" compiler hint.]

Rainer Stratmann RainerStratmann at t-online.de
Thu Nov 19 23:21:51 CET 2009


Am Thursday 19 November 2009 23:16:26 schrieb Vinzent Höfler:
> Martin <fpc at mfriebe.de>:
> > Ideally it would be, if there was a directive or similar, to suppress it
> > for given lines (or statements).
> > one that is easier than {$push} { $HINT OFF} ... {$POP}
>
> {$HINTS OFF}
>
> ... code ...
>
> {$HINTS DEFAULT}
>
> maybe? Whereas DEFAULT restores the switch to the original state.
>
>
> Vinzent.

But then you have to do it everywhere in the code instead of one time.

Rainer



More information about the fpc-pascal mailing list