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

Fantomas fantomaspda at yandex.com
Tue Nov 17 14:03:10 CET 2009


Hello, Graeme!

Tuesday, November 17, 2009, 2:20:18 PM, you wrote:

> That you.  I agree with JoshyFun though. It seems like it is actually a
> problem in the FillChar() definition and that should be fixed, instead of
> simply ignoring the hint.

> I raised this issue in the fpc-devel mailing list.

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.


--
Best regards,
Fantomas




More information about the fpc-pascal mailing list