title: runtime_error was not declared in this scope for g++ 4.1.2
body: <p>The same code is working fine on gcc 4.5.2 but when trying to compile it on gcc 4.1.2, I get the error <code>‘runtime_error’ was not declared in this scope</code>.</p>
  
  <p>I do have</p>
  
  <pre><code>#include &lt;stdexcept&gt;
  </code></pre>
  
  <p>Is this a problem with gcc 4.1.2?</p>
  
  <p>Code excerpt</p>
  
  <pre><code>// Constructor
  if (resource cannot be acquired)
    throw std::runtime_error("Blah Blah");
  </code></pre>