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.
NetBeans IDE Dev (Build 201508240002) Ubuntu 15.10 daily build g++ (Ubuntu 5.2.1-15ubuntu2) 5.2.1 20150808 ================================================ #include <string> using namespace std; int main(int argc, char** argv) { string s = "zzz"; // unresolved identifier return 0; } ================================================ #include <list> using namespace std; int main(int argc, char** argv) { list<int> s; // unresolved identifier s.push_back(1); // unresolved identifier return 0; } ================================================
NetBeans 8.0.2 doesn't recognize GCC 5.2.1 headers too
Instead of std::string I see std::__cxx11::string Ubuntu builds: http://cdimage.ubuntu.com/daily-live/current/
Created attachment 155609 [details] file after "g++ -std=c++03 -E"
Fixed in http://hg.netbeans.org/cnd-main/rev/4221375f461c
Additional fix (test case): http://hg.netbeans.org/cnd-main/rev/08411d26bd78
Integrated into 'main-silver', will be available in build *201508280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4221375f461c User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #254671 - IDE can't parse STL (default compiler in Ubuntu 15.10)
In 201508300002 Code Assistance doesn't work too.
Integrated into 'main-silver', will be available in build *201509050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c807b63ed7e4 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Additional fix for #254671 - IDE can't parse STL (default compiler in Ubuntu 15.10)
Additional fixes are: http://hg.netbeans.org/cnd-main/rev/c807b63ed7e4 http://hg.netbeans.org/cnd-main/rev/8afb8df50d81 http://hg.netbeans.org/cnd-main/rev/9f332735d3d0
Integrated into 'main-silver', will be available in build *201509070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/9f332735d3d0 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Additional fix for #254671 - IDE can't parse STL (default compiler in Ubuntu 15.10)
Verified in NetBeans IDE Dev (Build 201509070002)
Integrated into 'main-silver', will be available in build *201509090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c38c8c1ac5ed User: Petr Kudryavtsev <petrk@netbeans.org> Log: Additional fix for #254671 - IDE can't parse STL (default compiler in Ubuntu 15.10) -- test case
I downloaded 201510040002 and the problem with code assistance and stl is definitely better on Ubuntu 15.10, but there still seem to be problems. For example istringstream.good() isn't recognized and causes an "Unable to resolve identifier good". The same problem shows up for ostringstream.str() which isn't a surprise since the are from the same library. I haven't contributed before to the netbeans codebase, but I won't mind writing a test or trying to help if there are documentation/resources I could use to get started relatively quickly.