I am using Netbeans 7.2 with NCC4N v 0.2 to allow compiling the same code with Cygwin, Clang, Mingw gcc 4.6, Mingw32 gcc 4.7 and VS 10 - excellent to check C++ code for portability.
But I note that the display, for example of welcome.cc, shows errors (lots of red blobs with !) for all mentions of 'std'. For example:
Thanks for reporting the bug. That's actually a known issue.
It seems that the parser doesn't use the same includes as the project and also doesn't find the std in the standard libraries.
I have logged a ticket and will have a look this week end.
Last edit: Maxime Viargues 2012-11-08
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi! I have installed 0.3.1 version of VCC4N but this bug have not been fixed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-08-14
That's weird because I am pretty sure it's fixed. I know few of them may still be red, like with shared_ptr for example, but std should not be red.
Netbeans should have told you something like "Code assitance has change, do you want to update it".
Check on Tools > Options > C++, Select VCC4N then click on CodeAssistance tab > C++ Compiler tab
On Macro definitions you should have 18 lines. If not then it's not updated correctly. Try to recreate the VCC4N Tool Collection, they should appear then.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using Netbeans 7.2 with NCC4N v 0.2 to allow compiling the same code with Cygwin, Clang, Mingw gcc 4.6, Mingw32 gcc 4.7 and VS 10 - excellent to check C++ code for portability.
But I note that the display, for example of welcome.cc, shows errors (lots of red blobs with !) for all mentions of 'std'. For example:
#include < iostream >
int main(int argc, char**argv)
{
std::cout << "Welcome ..." << std::endl;
return 0;
}
builds and runs fine. Excellent!
But it is very annoying reading the code - you can't tell 'real' errors from these zillions of 'red herrings'.
Is there some include or other setting that I am missing.
I've tried adding C:/Program Files/Microsoft Visual Studio 10.0/VC/include but this doesn't help the parser.
Hello,
Thanks for reporting the bug. That's actually a known issue.
It seems that the parser doesn't use the same includes as the project and also doesn't find the std in the standard libraries.
I have logged a ticket and will have a look this week end.
Last edit: Maxime Viargues 2012-11-08
It has been fixed and will be available in the next release (not sure exactly when).
hi! i`ve installed 0.3.1Beta version of VCC4N, but this bug still have not fixed
Hi! I have installed 0.3.1 version of VCC4N but this bug have not been fixed.
That's weird because I am pretty sure it's fixed. I know few of them may still be red, like with shared_ptr for example, but std should not be red.
Netbeans should have told you something like "Code assitance has change, do you want to update it".
Check on Tools > Options > C++, Select VCC4N then click on CodeAssistance tab > C++ Compiler tab
On Macro definitions you should have 18 lines. If not then it's not updated correctly. Try to recreate the VCC4N Tool Collection, they should appear then.
Hi .
i am using 7.3 version .. and i can't compile because it ask me what is the "make command" .
i don't know what to do ?
You need to install MinGW tools, follow the steps here: https://netbeans.org/community/releases/72/cpp-setup-instructions.html