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

petr.kristan at epos.cz petr.kristan at epos.cz
Mon Sep 29 11:18:17 CEST 2008


Hi.

Is there any posibility to hide compiler hint:
Hint: Parameter "xxx" not used

Other hints I want to see, but this is by my opinion useless and only
makes dirty compiler output. I cannot effectively suppres it in my code.
For examle:
procedure TObj.OnEvent(Sender: TObject);

Sometimes I need Sender, sometimes not.

Now I use this hack: make | grep -v 'Hint: Parameter ".*" not used'
but some plain solution is welcome.

Petr

-- 
Ing. Petr Kristan
.
EPOS PRO s.r.o., Bozeny Nemcove 2625, 530 02 Pardubice
tel: +420 466335223    Czech Republic (Eastern Europe) 
fax: +420 466510709



More information about the fpc-devel mailing list