[Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

Luiz Americo Pereira Camara luizmed at oi.com.br
Sat Apr 11 18:00:10 CEST 2009


Alexander Klenin escreveu:
> On Sat, Apr 11, 2009 at 22:39, Luiz Americo Pereira Camara
> <luizmed at oi.com.br> wrote:
>   
>> Alexander Klenin escreveu:
>>     
>
>   
>>> OTOH, the hint is not _entirely_ useless and can in some rare cases
>>> point to a real bugs.
>>> The solution is to enable per-variable hint suppression. It is done in C/C++
>>> by omitting variable name, but I think a better way would be a
>>> compiler directive.
>>>       
>
>   
>> Are you aware that fpc trunk already implemented an option to disable hints?
>>
>> See: http://bugs.freepascal.org/view.php?id=8690
>>     
>
> As you can see from the part of my original post quoted above, this solution is,
> unfortunately, not useful 

OK.

Currently, you can disable only the "Parameter not used" hint and keep 
the other hints. If this is not enough, you can open a fpc bug report

Luiz



More information about the Lazarus mailing list