title: OCUnit and C++ in Xcode 4?
body: <p>Is anybody using OCUnit (as in Xcode 4.2 Unit Testing) with C++ code successfully?</p>
  
  <p>After hours trying to understand what's going on I'm now pretty convinced there are some major flaws in using Xcode 4 and OCUnit to test C++ code from Objective-C++ files (.mm)</p>
  
  <p>The main application (Cocoa with some C++ business logic) compiles fine!
  The trivial .mm test class fails with weird compiler errors, varying between</p>
  
  <ul>
  <li>Use of undeclared identifier (C++ class name)</li>
  <li>Use of incomplete type</li>
  <li>C++ requires a type specifier for all declarations</li>
  </ul>
  
  <p>and so forth. Basically it seems to be terribly confused with the C++ bits.
  The classes the test files complain about compile JUST FINE from the main application!
  They can be instantiated in the main application JUST FINE.</p>
  
  <p>Anybody having encountered and solved this before?</p>
  
  <p>Thanks,
  Jay</p>