[fpc-pascal] How to solve "variable does not seem to be initialized" compiler hint.

Jürgen Hestermann juergen.hestermann at gmx.de
Tue Nov 17 17:26:41 CET 2009


> In my humble opinion, there are no problems with the FillChar declaration. But
> the way you wrote your _absolutely correct_ code produced a hint. You shold use
> $HINTS OFF, for amendment to the FillChar declaration seems to be done unlikely.

But there is a reason for the hints. It should point you to possible problems (or optimitations). When switching it off, you also loose all other hints. That's not a solution, it's a workaround.



More information about the fpc-pascal mailing list