title: Eclipse C/C++ Shows Errors but Compiles?
body: <p>So I am building some Arduino code in eclipse, as described in <a href="http://www.arduino.cc/playground/Code/Eclipse#YourSecondArduinoProject" rel="noreferrer">Your Second Arduino Project</a>, but every time I use an Arduino library, such as <code>Serial</code>, Eclipse underlines my function names, claiming they cannot be resolved.  However, the code actually compiles, so I'm kind of at a loss as to why Eclipse thinks the functions are missing.  If anyone has any idea on how to solve this problem it would be appreciated.  Thanks beforehand. </p>
  
  <p>EDIT: I should have been more specific, Eclipse underlines the METHODS inside the Arduino libraries.  So if I use <code>Serial.println("hello");</code>, it underlines <code>println()</code> and claims it cannot be resolved.  Then it compiles just fine and the method works when uploaded to the arduino board.</p>
  
  <p>EDIT2: I found my error, turns out I was trying to use some C++ functions in a C file, and eclipse didn't like it; I renamed to .cpp and all the red disappeared ;)  Thanks for your help!</p>