title: How to disable GCC warnings for a few lines of code
body: <p>In Visual C++, it's possible to use <a href="https://msdn.microsoft.com/en-us/library/2c8f766e.aspx" rel="noreferrer"><code>#pragma warning (disable: ...)</code></a>. Also I found that in GCC you can <a href="http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas" rel="noreferrer">override per file compiler flags</a>. How can I do this for "next line", or with push/pop semantics around areas of code using GCC?</p>