title: g++ 4.8.* std::chrono Undeclared
body: <p><a href="http://en.cppreference.com/w/cpp/chrono" rel="nofollow noreferrer"><code>std::chrono</code></a> ought to be supported in <code>g++ 4.8.*</code>.  However, when I try to compile using it using <code>g++ 4.8.3</code>, it cannot find various declarations.  I am, of course, using <code>-std=c++11</code>.</p>
  
  <p>For example this invocation (from an autogenerated file; that's why the <code>-std</code> appears twice):</p>
  
  <blockquote>
    <p>g++-4.8 -g -msse2 -m64 &lt;defines> &lt;warnings> -std=c++11 -fexceptions -std=c++11 &lt;includes'-path> -c &lt;source-file.cpp> -o &lt;out-path></p>
  </blockquote>
  
  <p>Produces this error:</p>
  
  <blockquote>
    <p>&lt;source-file, line>: error: ‘std::chrono::monotonic_clock’ has not been declared</p>
  </blockquote>
  
  <p>I wasn't able to find <a href="http://ubuntuforums.org/showthread.php?t=2248294" rel="nofollow noreferrer">very</a> <a href="http://www.cplusplus.com/forum/unices/144894/" rel="nofollow noreferrer">much</a> that wasn't immediately a compiler version or missing <code>-std=c++11</code>.  By inference from <a href="https://stackoverflow.com/questions/17405997/c-chrono-duration-cast-to-milliseconds-results-in-seconds">this</a>, I shouldn't need anything else.</p>
  
  <p>Question: what's wrong, how do I fix it?</p>