Search
 
SCRIPT & CODE EXAMPLE
 

CPP

gcc suppress warning inline

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"

void f(int a, int b)
{
    std::cout << a << '
';
    // we are not using b!
}

#pragma GCC diagnostic pop
Comment

PREVIOUS NEXT
Code Example
Cpp :: c++ doubly linked list 
Cpp :: all permutations with repetition C++ 
Cpp :: insert in vector 
Cpp :: c++ find object in vector by attribute 
Cpp :: cin exceptions c++ 
Cpp :: c++ preprocessor operations 
Cpp :: ++ how to write quotation mark in a string 
Cpp :: c++ program to convert character to ascii 
Cpp :: how to create 2d array using vector in c++ 
Cpp :: c++ region 
Cpp :: log base 2 in c++ 
Cpp :: how to replace part of string with new string c++ 
Cpp :: c ++ split_string 
Cpp :: Finding square root without using sqrt function? 
Cpp :: abstraction in cpp 
Cpp :: print in c ++ 
Cpp :: c++ uint8_t header 
Cpp :: C++ fibo 
Cpp :: loop execution descending order in c++ 
Cpp :: c++ if statement 
Cpp :: find the graph is minimal spanig tree or not 
Cpp :: google test assert exception 
Cpp :: c++ compare type 
Cpp :: c++ catch Unhandled exception 
Cpp :: c++ define array with values 
Cpp :: qt file explorer 
Cpp :: priority queue in cpp 
Cpp :: pow c++ 
Cpp :: c++ last element of vector 
Cpp :: remove duplicates from sorted list leetcode solution in c++ 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =