title: How can I make this GCC warning an error?
body: <p>I get this warning from GCC:</p>
  <blockquote>
  <p>warning: cannot pass objects of non-POD type 'class Something' through '...'; call will abort at runtime</p>
  </blockquote>
  <p>It's pretty deadly, especially since it calls an abort. Why isn't this an error? I would like to make it an error, but:</p>
  <ol>
  <li>How do I make a specific warning an error?</li>
  <li>Which warning is it? According to <em><a href="http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html" rel="nofollow noreferrer">3.8 Options to Request or Suppress Warnings</a></em>, <code>-Wno-invalid-offsetof</code>, it looks like the flag to hide it, but it doesn't.</li>
  </ol>