title: "non-virtual thunk to <method name>", referenced from: Vtable for <classname>in <objectfile.o>
body: <p>When compiling in debug mode my xcode compilation has these linking errors: </p>
  
  <pre><code>"&lt;method name&gt;", referenced from: 
  Vtable for &lt;classname&gt;in &lt;objectfile.o&gt;
  
  "non-virtual thunk to &lt;method name&gt;", referenced from: 
  Vtable for &lt;classname&gt;in &lt;objectfile.o&gt;
  </code></pre>
  
  <p>the strange thing is: It only occurs in one of my build targets (both targets are pretty much the same for that code), plus if these methods are defined in the header file instead of the .cpp it works fine for both targets.</p>
  
  <p>All of those methods are pure virtual. The class where these errors occur inherits from multiple classes but only one of those causes these errors.</p>
  
  <p><strong>Anyone has any idea of what is causing this error?</strong></p>