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.
Here's a code snippet: #include <iostream> #include <sstream> #include <string> using namespace std; int main(void) { stringstream ss("bla a bla"); string s; while (getline(ss, s, ' ')) { if(!s.empty()) //unable to resolve identifier "empty" { cout << s << endl; } } cin.ignore(2); //unable to resolve identifier "ignore" return 0; } The code compiles just fine. It also happens with ifstream stuff such as open, is_open and close.
Works in trunk (tested with headers from gcc 4.6.3). Could you please check development version in your environment on Windows 7?
(In reply to petrk from comment #1) > Works in trunk (tested with headers from gcc 4.6.3). Could you please check > development version in your environment on Windows 7? I'm testing it on gcc 4.8.1 with IDE version 7.3.1. Where can I get the dev version?
You can download it from http://bits.netbeans.org/download/trunk/nightly/latest/