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.
I use QMAKE_CXXFLAGS + =-std=gnu ++ 0x Even with this key following and many things from the new standard are not visible. Look the attached file Why it is impossible to correct names of variables only in the allocated area. Without use to Replace (Ctrl +D) As it is made in Builder. Because at copying in a window to Replace allocation area it is lost.
Created attachment 93619 [details] Problems
CND does not support C++0x I do not understand: >Why it is impossible to correct names... Please, file separate issue for this with clear description.
Created attachment 93622 [details] this
>CND does not support C ++ 0x Why After all all normally gathers only red underlinings are displayed. >Please, file separate issue for this with clear description. All is corrected. Only at replacement. If I copy from the code text. Text allocation vanishes. Look the attached file
Please, continue discussion about instance rename (Ctrl+R)/text replace (Ctrl+H)/refactoring rename in new bug/enchantment.
At use rename (Ctrl+R) Corrections are brought or in everything or if to clean ticks where it is necessary. And I need to copy the text, to insert it and in this piece to replace one variable with another. Instead of completely to rename. As in Builder has allocated a piece, has pressed at the left on a strip a key of editing and only in this piece I correct, I change, etc.
CND show red underline for: - unrecognizable syntax error (not compile error, CND use own parser) - unresolved identifiers (not compile error, CND use own reference resolver) There are no guarantee that CND parser recognize 100% of C/C++ constructions (but it very close to C99 and support a few primitive construction of C++0x). There are no guarantee that CND reference resolver resolves 100% of C/C++ identifiers (on override CND has right resolving for 99.6% identifiers). Resolver work right if code assistance has right user include paths and user defined macros.
(In reply to comment #7) > CND show red underline for: > - unrecognizable syntax error (not compile error, CND use own parser) > - unresolved identifiers (not compile error, CND use own reference resolver) > There are no guarantee that CND parser recognize 100% of C/C++ constructions > (but it very close to C99 and support a few primitive construction of C++0x). > There are no guarantee that CND reference resolver resolves 100% of C/C++ > identifiers (on override CND has right resolving for 99.6% identifiers). > Resolver work right if code assistance has right user include paths and user > defined macros. Ok
Not Ok! https://bugs.eclipse.org/bugs/show_bug.cgi?id=327297 From everything that is applicable in gcc 4.6, in cdt 8.0 (release if not tomorrow, the day after tomorrow) remains not implemented very little. http://labs.qt.nokia.com/2011/05/26/cpp0x-in-qt/
Support C++11 http://herbsutter.com/2011/08/12/we-have-an-international-standard-c0x-is-unanimously-approved/ http://www2.research.att.com/~bs/C%2B%2B0xFAQ.html
std::vector<std::vector<int>> v; Result: Unable to resolve identifier v Expected result: no error, allowing >>
the funny thing is a lot of the support seems to be already there (like new for syntax, understanding of new thread object etc...) but lambdas not yet - it'd be great to get that going thanks
The mysterious statement. http://wiki.netbeans.org/NewAndNoteworthyNB71 Experimental support of new C++ Standard (C++11) Certain features of the new C++ standard are supported. For example, there is code completion and navigation support for declarations with the "auto" type. struct Test { int a; int b; }; auto z = Test(); z. <empty> Where it is possible to see the implementation plan.
Something small that's particularly annoying: I work with a large C++11 codebase and the NetBeans parser chokes on nested template parameters where the braces are not separated by space. E.g. vector<pair<int>> x; breaks NetBeans parsing.
(In reply to comment #14) > Something small that's particularly annoying: I work with a large C++11 > codebase and the NetBeans parser chokes on nested template parameters where the > braces are not separated by space. > > E.g. vector<pair<int>> x; breaks NetBeans parsing. It works, but you should use daily build and specify standard to be C++11 Open project properties specify C++11 standard: - if you have project from existing sources => in Code Assistance->C++ Compiler - if you have NB managed project => Build->C++ Compiler
(In reply to comment #14) > Something small that's particularly annoying: I work with a large C++11 > codebase and the NetBeans parser chokes on nested template parameters where the > braces are not separated by space. > > E.g. vector<pair<int>> x; breaks NetBeans parsing. Is that codebase an open source one? Something that you can share with us and we can adopt to our test environment?
@Vladimir - thanks for the tip, I didn't know that option was there! @Leonid - unfortunately it's not an open-source codebase
(In reply to comment #17) > @Vladimir - thanks for the tip, I didn't know that option was there! You are welcome, so I'm closing this. If you know other issues, please, file them as separate bugs. I consider feature as finished.
http://wiki.netbeans.org/NewAndNoteworthyNB72#C.2B.2B11_Standard_Support