Unused parameters in gcc
17 July 2004, 05:37 PM Filed in: …on Coding
Martin
Pool has a really nice blog entry on how to use
-Wall to turn on all warnings in gcc,
and
stop it from complaining when you have unused
parameters. This is quite a common scenario when
you’re using callbacks (a.k.a. delegate or visitor
methods).
|