title: Eclipse: function 'to_string' could not be resolved
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/14131939/turn-off-eclipse-errors-that-arent-really-errors">Turn off eclipse errors (that arent really errors)</a>  </p>
  </blockquote>
  
  
  
  <p>I'm facing this annoying issue: Eclipse refuses to recognize the <code>std::to_string</code> function, but my program compiles without errors. What am I missing?</p>
  
  <p>According to <a href="http://en.cppreference.com/w/cpp/string/basic_string/to_string" rel="nofollow noreferrer">cppreference</a> the <code>std::to_string</code> function is defined in <code>&lt;string&gt;</code>, so I included it explicitly in the incriminated <code>.cpp</code> file. I also tried <a href="https://stackoverflow.com/questions/7966976/eclipse-indigo-cdt-function-could-not-be-resolved/10648555#10648555">this</a>, <a href="https://stackoverflow.com/questions/7966976/eclipse-indigo-cdt-function-could-not-be-resolved/12632249#12632249">this</a> and <a href="https://stackoverflow.com/questions/8148235/eclipse-cdt-shows-semantic-errors-but-compilation-is-ok/10081040#10081040">this</a> solutions, with no luck.</p>
  
  <p>Any other suggestions?</p>
  
  <p>EDIT:</p>
  
  <p>I'm using g++ 4.7.2 under Linux.</p>