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 257832 - IDE doesn't recognize C++11 keywords in first standalone file
Summary: IDE doesn't recognize C++11 keywords in first standalone file
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.2
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-03 15:02 UTC by soldatov
Modified: 2016-06-20 13:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2016-02-03 15:02:00 UTC
In external terminal create and save such c++11.cpp file:
int main(int argc, char** argv) {
    int i = 0;
    decltype(i) j = 0;
    return 0;
}

Scenario:
- Launch IDE
- Push File|Open File...
- Open C++ file with C++11 keyword
==> 'decltype' is black identifier (Bug!!!)
- Close and Open this file again
==> 'decltype' is blue identifier (ok)

see https://netbeans.org/bugzilla/show_bug.cgi?id=253681#c1 (first scenario has been fixed in this patch)
Comment 1 Alexander Simon 2016-06-20 13:11:55 UTC
fixed, change set:
https://hg.netbeans.org/cnd-main/rev/184e231a92e7