C++11 Netbeans 8报告针对C++;11个图书馆。我该如何解决这个问题?

C++11 Netbeans 8报告针对C++;11个图书馆。我该如何解决这个问题?,c++11,netbeans,C++11,Netbeans,问题: 程序编译并运行,但我想知道如何修复此突出显示错误 操作系统统计信息: #include <iostream> #include <thread> #include <chrono> int main( ) { std::cout << "i work fine" << std::endl; std::chrono::milliseconds dura(2000); std::this_thread::sleep_for(du

问题: 程序编译并运行,但我想知道如何修复此突出显示错误

操作系统统计信息:

#include <iostream>
#include <thread>
#include <chrono>

int main( ) {

std::cout << "i work fine" << std::endl;
std::chrono::milliseconds dura(2000);
std::this_thread::sleep_for(dura);
std::cout << "done" << std::endl;
return(0);
}
Mac OS X 10.8.5

Netbeans统计信息:

#include <iostream>
#include <thread>
#include <chrono>

int main( ) {

std::cout << "i work fine" << std::endl;
std::chrono::milliseconds dura(2000);
std::this_thread::sleep_for(dura);
std::cout << "done" << std::endl;
return(0);
}
产品版本:NetBeans IDE 8.0(构建201403101706)

更新:NetBeans IDE更新为版本NetBeans 8.0修补程序2

Java:1.8.0_05;Java热点(TM)64位服务器VM 25.5-b02

运行时:Java(TM)SE运行时环境1.8.0_05-b13

系统:在x86_64上运行的Mac OS X版本10.8.5;UTF-8;恩努斯(nb)

标志:

#include <iostream>
#include <thread>
#include <chrono>

int main( ) {

std::cout << "i work fine" << std::endl;
std::chrono::milliseconds dura(2000);
std::this_thread::sleep_for(dura);
std::cout << "done" << std::endl;
return(0);
}
clang++-stdlib=libc++-std=c++11

代码:

#include <iostream>
#include <thread>
#include <chrono>

int main( ) {

std::cout << "i work fine" << std::endl;
std::chrono::milliseconds dura(2000);
std::this_thread::sleep_for(dura);
std::cout << "done" << std::endl;
return(0);
}
#包括
#包括
#包括
int main(){

std::这可能有关系:@jpw谢谢你的链接!