Martin Stjernholm, Roxen IS @ Pike developers forum wrote:
An all-on/all-off switch doesn't sound particularly useful. It's for each individual argument one wants to make the decision whether it's intended to remain unused or not.
What about something similar to __attribute__(unused) like gcc has?
E.g. int somefunc(int __attribute__(unused) level, int depth) { }
in order to suppress warnings for "int level".