Prof. Harley Flanders wrote:
Then a list of about 50 warnings, with check boxes, that the user can turn on/off. (There could be more.) Surely much better than an endless philosophical disputation on what warnings should/should not be given: Let the user choose -- caveat emptor.
That is not what the debate is about. GPC already has a long list of command-line switches that deal with warnings (in casu -Wno-unused-parameter). So, the ablilty to put them on or off is already there. The debate is about what to do if an otherwise useful warning (that you don't want to switch off entirely) produces an irrelevant warning in a specific context.
Regards,
Adriaan van Os