Frage

I included chrono header and it wouldn't find it. I used the namespace chrono and it didn't compile it.

The question is, is this a problem of Eclipse or the compiler does not support C++11? I have added in Eclipse the corresponding flag and macro.

Under this directory

/usr/include/c++/4.3.2

I can not find chrono, only this file "c++0x_warning.h" regarding c++11.

The problem is that I am using a computer that I am not admin of and requesting a compiler's update would have me do a long procedure.

This might be helpful.

War es hilfreich?

Lösung

Use a compiler with chrono support :-)

See: http://gcc.gnu.org/gcc-4.4/changes.html

gcc supports chrono from version 4.4. You compiler is simply much too old. Take the actual 4.9.0. So you have also regex as present :-)

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top