Is there any way in C++ to make the g++ to skip "-Werror=unused-parameter" errors for a specific .cpp file?
Example:
int foo(int a, int b)
{
a++;
std::cout << "b is not used in this function";
return a*a;
}
Is there any way in C++ to make the g++ to skip "-Werror=unused-parameter" errors for a specific .cpp file?
Example:
int foo(int a, int b)
{
a++;
std::cout << "b is not used in this function";
return a*a;
}