I'm curious if there is an option to disable gcc warnings about a parameter not being valid for the language being compiled.
Ex:
cc1: warning: command line option "-Wno-deprecated" is valid for C++/Java/ObjC++ but not for C
Our build system passes the warnings we have decided on globally across a build. We have both C/C++ code and the warnings get real annoying when trying to find actual warnings.
Any suggestions?