[fpc-devel] Howto hide Hint: Parameter "xxx" not used

Paul Ishenin ip at kmiac.ru
Mon Sep 29 11:41:40 CEST 2008


Jonas Maebe пишет:
> 
> On 29 Sep 2008, at 11:31, Paul Ishenin wrote:
> 
>> Jonas Maebe пишет:
>>> On 29 Sep 2008, at 11:18, petr.kristan at epos.cz wrote:
>>>> Is there any posibility to hide compiler hint:
>>>> Hint: Parameter "xxx" not used
>>> No. People regularly ask for the ability to disable particular 
>>> hints/warnings, but no one is interested enough to submit a patch to 
>>> add such functionality to the compiler (the compiler developers 
>>> aren't either, at least not until now).
>>
>> Look here: 
>> http://www.lazarus.freepascal.org/pipermail/lazarus/2008-September/019997.html 
>>
> 
> That's just a hack, and you have to regenerate the message file for 
> every new FPC release.

Ofcource, but what can we do simple fpc users ;)

It will be nice if you implement it similar to delphi way:

{$WARN UNSAFE_CODE OFF}
{$WARN SYMBOL_DEPRECATED ON}

and same with hints

Best regards,
Paul Ishenin.




More information about the fpc-devel mailing list