Build c++0x features with Eclipse

后端 未结 1 825
有刺的猬
有刺的猬 2020-12-22 06:03

When build with Eclipse get warnings and errors about c++0x keywords. Example:

identifier ‘decltype’ will become a keyword in C++0x

相关标签:
1条回答
  • 2020-12-22 06:44

    Try this:

    Project -> Properties -> C++-Build[Settings] -> G++Compiler[miscellanous] -> Other flags

    Add "-std=c++0x" there.

    0 讨论(0)
提交回复
热议问题