title: C++ forward reference in IOS Project (forward references to 'enum' type)
body: <p>I'm using a SDK in one of my projects and when adding in the libraries etc, I get an error from this line of code, which is from inside a .h file. I cannot change the .m since its not available to me. Its inside .a (lib)</p>
  
  <pre><code>-(enum scanDeviceID)ID; 
  </code></pre>
  
  <p>And the error message is:</p>
  
  <p>Semantic Issue
  ISO C++ forbids forward references to 'enum' types</p>
  
  <p>Are there any compilier/build setting that I can modify to make this work?</p>
  
  <p>Failing that, I know very little C++, is there something on the line of code I can change to make it work?</p>