This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 7.1 RC2 (Build 201111302200) Operating System = Linux version 2.6.33-7_fbk20_088d4b7 running on amd64 Java; VM; Vendor = 1.6.0_24 Runtime = Java HotSpot(TM) 64-Bit Server VM 19.1-b02 I have a simple/sample project which needs c++11 ( right click on project: properties; code assistance; C++ compiler; preprocessor Definitions (even though it's not a -D...); add "-std=gnu++0x" ) and I need to right click project, code assistance; reparse project each time I launch netbeans or it has "red" (errors) on c++11 constructs like thread ) sample code: #include <iostream> #include <thread> #include <vector> #include <sstream> using namespace std; int main() { vector<thread> threads; for (int i = 0; i < 10; ++i) { char* cmd = new char[64]; sprintf(cmd, "echo %d", i); threads.push_back(thread([cmd](){ ostringstream oss; oss << "cmd " << cmd << endl; cout << oss.str(); system(cmd); delete []cmd; })); } for (auto& t : threads) { t.join(); } } maybe it's because there is a better way to enable c++ 11 parsing ? (actually it would be nice that that'd be a check box somewhere - maybe it is and I missed it) this is using $ g++ --version g++ (GCC) 4.6.2 20111027 (Red Hat 4.6.2-1) Thanks
Happy New Year ! Any idea ? Thanks
issue 179939 is not started yet
Closed as incomplete because bug #179939 was fixed. Please, reopen issue if it is still reproducible.