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

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Nov 19 22:54:25 CET 2009


On 19 Nov 2009, at 22:50, Rainer Stratmann wrote:

> Yes, but for that is the compiler-switch $PASS_VAR_NO_HINT ON.
> Then no hint is put out by the compiler.

When using FPC 2.4.0rc1 or later:
a) compile your code with -vq
b) note the message number for the warning/note/hint you want to suppress (e.g., 1234)
c) use -vm1234 in the future to globally suppress this warning/note/hint


Jonas


More information about the fpc-pascal mailing list