c++0x compiles but eclipse editor errors even with -gnu++0x discovery

前端 未结 2 589
半阙折子戏
半阙折子戏 2020-12-17 19:24

I use some code to report duration of a task using std::chrono::high_resolution_clock ... part of c++0x.

I can successfully compile c++0x features in eclipse cdt usi

2条回答
  •  没有蜡笔的小新
    2020-12-17 19:50

    Eclipse has it's own parser. That parser can't deal with the c++11 (C++0x) features. So you have to wait until the c++11 support in the eclipse parser will be ready.

提交回复
热议问题