title: Remove compiler warning for a certain directory
body: <p>I enabled <code>-Wall</code> and <code>-Wextra</code> to see all the warning in my project, but I'm also using a 'library' (I copy/pasted the source code of the library in a folder <code>libs</code> of my project) which pops up a lot of warnings.  The code comes with a book (OpenGL Super Bible 5), and I'm using it to learn OpenGL.  However I don't want to see all the warnings generated by this code, only the warnings in my <code>src</code> folder.</p>
  
  <p>Is there a way to hide warnings coming from a specific folder?</p>
  
  <p><strong>I do not try to hide MY warnings, I just want to remove the author's warning so that I can concentrate on fixing my own warnings.</strong></p>
  
  <p>The warnings are</p>
  
  <pre><code>./libs/src/GLTools.cpp:123:6: warning: unused parameter ‘szArgv’ [-Wunused-parameter]
  In file included from ./libs/src/GLBatch.cpp:36:0:
  ./libs/include/GLBatch.h: In constructor ‘GLBatch::GLBatch()’:
  ./libs/include/GLBatch.h:123:16: warning: ‘GLBatch::nNumTextureUnits’ will be initialized after [-Wreorder]
  ./libs/include/GLBatch.h:122:16: warning:   ‘GLuint GLBatch::nNumVerts’ [-Wreorder]
  ./libs/src/GLBatch.cpp:55:1: warning:   when initialized here [-Wreorder]
  In file included from ./libs/src/GLBatch.cpp:36:0:
  ./libs/include/GLBatch.h:131:17: warning: ‘GLBatch::pTexCoords’ will be initialized after [-Wreorder]
  ./libs/include/GLBatch.h:115:11: warning:   ‘GLuint GLBatch::uiVertexArray’ [-Wreorder]
  ./libs/src/GLBatch.cpp:55:1: warning:   when initialized here [-Wreorder]
  In file included from ./libs/src/GLBatch.cpp:36:0:
  ./libs/include/GLBatch.h:125:14: warning: ‘GLBatch::bBatchDone’ will be initialized after [-Wreorder]
  ./libs/include/GLBatch.h:121:16: warning:   ‘GLuint GLBatch::nVertsBuilding’ [-Wreorder]
  ./libs/src/GLBatch.cpp:55:1: warning:   when initialized here [-Wreorder]
  In file included from ./libs/src/GLBatch.cpp:36:0:
  ./libs/include/GLBatch.h:121:16: warning: ‘GLBatch::nVertsBuilding’ will be initialized after [-Wreorder]
  ./libs/include/GLBatch.h:118:12: warning:   ‘GLuint* GLBatch::uiTextureCoordArray’ [-Wreorder]
  ./libs/src/GLBatch.cpp:55:1: warning:   when initialized here [-Wreorder]
  ./libs/src/GLShaderManager.cpp:481:8: warning: unused parameter ‘szVertexProg’ [-Wunused-parameter]
  ./libs/src/GLShaderManager.cpp:481:8: warning: unused parameter ‘szFragProg’ [-Wunused-parameter]
  </code></pre>
  
  <p>I'm afraid if I disable those specific warnings ( <code>-Wunused-parameter</code> and <code>-Wreorder</code> ), they might happen in my own code in which case I would be told about it.  I'm a beginner at C++ so I'd like to have all the help the compiler can give me to identify my errors, or things I might do that are bad practice.</p>