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.

Bug 217200 - Compiling and Running well... But "Unable to resolve identifier" mark appear in source editor window in C++ Project
Summary: Compiling and Running well... But "Unable to resolve identifier" mark appear ...
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-22 08:42 UTC by mug896
Modified: 2015-11-11 14:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
<no description> (33.97 KB, image/png)
2012-08-22 08:43 UTC, mug896
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mug896 2012-08-22 08:42:27 UTC
Product Version = NetBeans IDE 7.2 (Build 201207171143)
Operating System = Linux version 3.5.2-1.fc17.i686 running on i386
Java; VM; Vendor = 1.7.0_06
Runtime = Java HotSpot(TM) Client VM 23.2-b09

I alse tested windows7 cygwin environment and the same problem occurred

------------------------- test code begin ----------------------------

#include <iostream>
#include <functional>

std::function<int(int, int) > returnLambda()  <------- "Unable to resolve identifier"
{

    return [](int x, int y)  <------- "Unable to resolve identifier"
    {
        return x*y;  <------- "Unable to resolve identifier"
    };
}

int main()
{

    auto lf = returnLambda();
    std::cout << lf(6, 7) << std::endl;

    return 0;
}

------------------------------ test code end --------------------
Comment 1 mug896 2012-08-22 08:43:26 UTC
Created attachment 123383 [details]
<no description>
Comment 2 Vladimir Voskresensky 2015-11-11 14:32:48 UTC
fixed long time ago