[Lazarus] Hints usability

Christian Iversen chrivers at iversen-net.dk
Sat Apr 11 17:06:20 CEST 2009


Alexander Klenin wrote:
> On Sat, Apr 11, 2009 at 07:53, Alexander Klenin <klenin at gmail.com> wrote:
>> On Sat, Apr 11, 2009 at 07:17, Christian Iversen
>> <chrivers at iversen-net.dk> wrote:
>>> Ok, I can see what you're doing there. In my opinion, it's not very
>>> pretty. How about something like this:
>>>
>>> procedure SilenceHint(const A); inline;
>>> begin
>>> end;
> 
> BTW, did you actually try this? It does not work at least on FPC 2.2.4:
>   Warning: "formal parameter" not yet supported inside inline procedure/function
>   Warning: Inlining disabled

I didn't try it, actually. It was just an idea.

How about defining a macro instead? You might have a macro that does 
nothing sufficiently well that it silences the hints.

-- 
Med venlig hilsen
Christian Iversen



More information about the Lazarus mailing list