And thank you to whoever released the new C++ patch for Netbeans this
morning. The errors have disappeared and all seems to be working. :-)
Brenden
-------- Forwarded Message --------
Subject: C++ compiler gone weird, flags errors
Date: Tue, 28 Apr 2020 08:36:46 -0700
From: Brenden Towey <[email protected]>
To: [email protected]
Hi folks, I wonder if I could get some help with an issue I'm having. I
have NetBeans 11.1 and the C++ module installed for Cygwin. I think at
some point I updated my Cygwin installation (using the standard install
tool for Cygwin) and now NetBeans reports errors everywhere.
For example, this code example with errors marked as comments:
#include <iostream> // cannot find include file <iostream>
#include <cstdlib> // cannot find include file <cstdlib>
using namespace std; // Unable to resolve identifier std
/*
*
*/
int main(int argc, char** argv) {
cout << "Hello world."; // Unable to resolve identifier cout
return 0;
}
The thing is the code compiles and runs just fine. It's just the editor
window that is getting all of these errors. Help? What would I look
for to tell the editor to resolve these errors when the compiler is
working just fine?
Thanks!