[fpc-pascal] Compiler option to check return value ignorance

Vincent Snijders vsnijders at quicknet.nl
Wed Aug 13 20:31:09 CEST 2008

Vinzent Höfler schreef:
> Vincent Snijders wrote:
>> Vinzent Höfler schreef:
>>> Joost van der Sluis wrote:
>>>> Ok, so I misunderstood you. You want that the compiler complains if you
>>>> don't assign the result of a function. While that can be done, I don't
>>>> think you want that.
>>> Well, don't decide for others, please. I am a stupid programmmer, I 
>>> am making mistakes all the time, and any feature that could possibly 
>>> stop me from making such is - in my opinion - a useful feature.
>> Yes, but this feature doesn't because it gives so many false positives 
>> that I end up ignoring such warnings completely.
> IBTD. I actually *used* that feature, until it became unusable due to 
> the inability to compile constructors at all. So don't get me wrong, but 
> maybe I am in a better position to judge its usefulness. 

Sorry, that I misjudge your position to judge its usefulness and I 
misunderstood the difference between a new warning and an old fatal error.


More information about the fpc-pascal mailing list