On Mon, Sep 29, 2008 at 11:18 AM,  <[EMAIL PROTECTED]> wrote:
>
> Is there any posibility to hide compiler hint:
> Hint: Parameter "xxx" not used

I agree, it would be nice to suppress that hint! It's quite pointless,
99% of the time.

I have seen some code like the following, to suppress that hint, but
it's just a ugly hack as far as I'm concerned.


procedure TObj.OnEvent(Sender: TObject);
begin
  Assert(Sender <> nil);    // to get rid of compiler warning!
  ...
end;


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to