title: cmath.h and compile errors
body: <p>I used to work with math.h without any problem. Now, I use an external library which itself has a file called <code>math.h</code>, but which includes <code>&lt; cmath&gt;</code>.</p>
  <p>Adding this library to my project (or even just adding the include directory, without touching the code) now generates tons of errors from <code>&lt; cmath&gt;</code> :</p>
  <blockquote>
  <p>C:\Program Files\Microsoft Visual Studio 8\VC\include\cmath(18) : error C2039: 'acosf' : is not a member of '`global namespace''</p>
  <p>C:\Program Files\Microsoft Visual Studio 8\VC\include\cmath(18) : error C2873: 'acosf' : symbol cannot be used in a using-declaration</p>
  <p>C:\Program Files\Microsoft Visual Studio 8\VC\include\cmath(18) : error C2039: 'asinf' : is not a member of '`global namespace''</p>
  <p>C:\Program Files\Microsoft Visual Studio 8\VC\include\cmath(18) : error C2873: 'asinf' : symbol cannot be used in a using-declaration</p>
  </blockquote>
  <p>[etc, etc...]</p>
  <p>I don't understand why this happens. I am using Visual Studio 2005 and looking on the internet, it seems that this problem is solved under VS 2008. However, I'd like to stay on VS 2005...</p>
  <p>Including <code>using namespace std;</code> everywhere, or changing the order of my includes doesn't seem to change anything. Defining <code>_STD_BEGIN</code> solves the error, but produce as many in <code>&lt; xlocinfo&gt;</code>.</p>
  <p>How can this be solved?</p>