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.
Hello, i've found a lot of C++11 components not identified by netbeans parser/editor/code completion, so I fill an example with some of them. Using g++ 4.7.2 on linux ubuntu, it compiles and run perfectly, but it's annoying to see the "red underlines". Compilation options: -O2 -Wall -I/usr/include -std=c++11 Here the example code: ----------------------BOC------------------- #include <array> #include <utility> #include <functional> #include <tuple> #include <iostream> typedef std::array<std::tuple<int, int, int>, 2 > arrayType; //<--- UNABLE TO RESOLVE IDENTIFIER array and tuple enum class identifier : short { pippoId = 0,plutoId = 1 }; arrayType theArray; void foo(int a, int b, const identifier id) { auto updateTuple = [a, b](std::tuple<int, int, int> & t1){ //<--- UNABLE TO RESOLVE IDENTIFIER tuple //UNABLE TO RESOLVE IDENTIFIER get std::get < 0 > (t1) += a; std::get < 1 > (t1) += b; std::get < 2 > (t1) += (b > 0 ? 1 : 0); }; updateTuple(theArray[static_cast<int> (id)]); } int main() { theArray.fill(std::make_tuple(0, 0, 0)); //<--- UNABLE TO RESOLVE IDENTIFIER fill and make_tuple foo(5, 4, identifier::pippoId); foo(5, 1, identifier::pippoId); foo(1, 1, identifier::pippoId); foo(20, 12, identifier::plutoId); for (auto elemTuple : theArray) { //UNABLE TO RESOLVE IDENTIFIER get std::cout << "(" << std::get < 0 > (elemTuple) << "," << std::get < 1 > (elemTuple) << "," << std::get < 2 > (elemTuple) << ") "; } std::cout << std::endl; } ----------------------EOC------------------
works for me (Solaris 11 + gcc 4.7.2) Do you set "Build|C++ Compiler|C++ Standard = C++11" in Project Properties window
(In reply to comment #1) > works for me (Solaris 11 + gcc 4.7.2) > > Do you set "Build|C++ Compiler|C++ Standard = C++11" in Project Properties > window Yes, it is setted. Otherwise the compiler options could not be -O2 -Wall -I/usr/include -std=c++11. So in Solaris you have the autocompletion when you type i.e. theArray.f[CTRL+SPACE]?
Created attachment 131341 [details] from my machine
(In reply to comment #3) > Created attachment 131341 [details] > from my machine Perfect. I'll try to update to netbeans 7.3 RC1 and see if the problem is solved on my platform.
Tried on 7.3 RC2: it worked. If I'll find new keywords not recognized I'll write it in future. Thanks
You can follow the online site here https://scrabblewordfinder.me and getting the great fun with play unscrambler scrabble word finder have to look the best score.