title: How can I hide "defined but not used" warnings in GCC?
body: <p>I have a bunch of compile time asserts, such as:</p>
  
  <pre><code>CASSERT(isTrue) or CASSERT2(isTrue, prefix_)
  </code></pre>
  
  <p>When compiling with GCC I get many warnings like <code>'prefix_LineNumber' defined but not used</code>. Is there a way I can hide warnings for compile time asserts? I had no luck searching the GCC documentation. I thought I might have the var automatically used globally inside the same macro but I couldn't think of any way to do it.</p>
  
  <p>Does anyone know of a way to hide that warning in GCC?</p>