André Pang
André Pang
LInkedIn About Talks Software Coding Quotes

Unused parameters in gcc

July 16, 2004 11:37pm André Pang André Pang

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).