visual studio suppress warnings folder migration code example
Example 1: turn off deprecated warnings php
error_reporting(E_ALL ^ E_DEPRECATED);
Example 2: gcc suppress warning inline
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
void f(int a, int b)
{
std::cout << a << '\n';
// we are not using b!
}
#pragma GCC diagnostic pop