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.
Summary: | C++ stl::map code completion errors | ||
---|---|---|---|
Product: | cnd | Reporter: | mshindo |
Component: | Code Completion | Assignee: | issues@cnd <issues> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
mshindo
2009-11-20 03:52:53 UTC
I can not reproduce this situation. Could you provide your compiler name and netbeans version? Are there any unresolved includes? Ubuntu 9.04 g++ (Ubuntu 4.3.3-5ubuntu4) 4.3.3 Netbeans 6.8, issue also exists on Netbeans 6.7.1 There aren't any unresolved includes. Netbeans accepts that map is a proper structure, but cant find any member functions for it. Apart from small modifications to the -Xms and -Xmx JVM, the system is default. I have checked on Ubuntu 9.04 with g++ $ g++ --version g++ (Ubuntu 4.3.3-5ubuntu4) 4.3.3 and the following works fine. ------------------- #include <map> #include <string> using namespace std; /* * */ int main(int argc, char** argv) { map<string,string> m; map<string,string>::iterator iter = m.find(""); return 0; } -------------- Could you, please, try the most recent 6.8 build http://bertram.netbeans.org/hudson/job/cnd-main/lastSuccessfulBuild/ + clean userdir + no import of settings from prev version. Thanks, Vladimir. |