[Bug 1522911] [NEW] 'std::chrono' has not been declared error in g++ 5.2.1

Hellbourne amit.finkler at gmail.com
Fri Dec 4 17:11:44 UTC 2015


Public bug reported:

I am pretty certain this bug should have been solved a long time ago in previous versions of g++, but in my case I still see this when giving the command:
[code]
std::this_thread::sleep_for(std::chrono::milliseconds(10))
[/code]
the error message I get is:
[code]
In member function ‘long long int Iterator::next()’:
error: ‘std::this_thread’ has not been declared
[/code]

** Affects: gcc-5 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: chrono

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-5 in Ubuntu.
https://bugs.launchpad.net/bugs/1522911

Title:
  'std::chrono' has not been declared error in g++ 5.2.1

Status in gcc-5 package in Ubuntu:
  New

Bug description:
  I am pretty certain this bug should have been solved a long time ago in previous versions of g++, but in my case I still see this when giving the command:
  [code]
  std::this_thread::sleep_for(std::chrono::milliseconds(10))
  [/code]
  the error message I get is:
  [code]
  In member function ‘long long int Iterator::next()’:
  error: ‘std::this_thread’ has not been declared
  [/code]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1522911/+subscriptions



More information about the foundations-bugs mailing list