You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Brenden Towey <br...@gmail.com> on 2020/04/28 15:36:46 UTC

C++ compiler gone weird, flags errors

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!



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: C++ compiler gone weird, flags errors

Posted by Emilian Bold <em...@gmail.com>.
I'm pretty sure there was no C++ release from NetBeans in the past week. It
was a fluke on your machine.

--emi


On Mon, May 4, 2020 at 9:17 PM Brenden Towey <br...@gmail.com> wrote:

>
> 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 <br...@gmail.com> <br...@gmail.com>
> To: users@netbeans.apache.org
>
> 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!
>
>
>

Re: C++ compiler gone weird, flags errors

Posted by Brenden Towey <br...@gmail.com>.
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 <br...@gmail.com>
To: 	users@netbeans.apache.org



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!