Horje
gcc suppress warning inline Code Example
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




Cpp

Related
c++ check if debug or release visual studio Code Example c++ check if debug or release visual studio Code Example
c++ find index of all occurrences in string Code Example c++ find index of all occurrences in string Code Example
sass set variable if not defined Code Example sass set variable if not defined Code Example
c++ define constant in class header Code Example c++ define constant in class header Code Example
Statements Code Example Statements Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11