On 04/04/18 19:32, Ondrej Pokorny wrote:
On 04.04.2018 18:53, Jonas Maebe wrote:
On 04/04/18 18:44, Ondrej Pokorny wrote:
I want to stress that the compiler emits a warning on code that does
not have (and also cannot have) an error
An error is wrong code behaviour. If you do not initialise a variable
with the correct value, then you can have an error.
No, no, no and again no. Do you try to convince me that I cannot rely on
well documented compiler behavior?
No. You replied to the above sentence out of context. The context was
given in the next sentence:
This correct value can be different from "empty string" or "nil".
If I want to have a different value from "empty string" or "nil" I know
I have to initialize it by myself. I don't need a warning for it.
Then turn it off.
Jonas
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel