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 214228 - header files does not color c++11 keywords
Summary: header files does not color c++11 keywords
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: All All
: P1 normal (vote)
Assignee: nnnnnk
URL:
Keywords:
: 214533 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-14 16:04 UTC by Vladimir Voskresensky
Modified: 2012-06-25 08:35 UTC (History)
3 users (show)

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 Vladimir Voskresensky 2012-06-14 16:04:19 UTC
create project with C++11 standard value.
go to header file and try to use constexpr, override, final or any other c++11 keywords => they are marked as unresolved identifiers
Comment 1 Vladimir Voskresensky 2012-06-14 17:07:51 UTC
http://hg.netbeans.org/cnd-main/rev/00f95ac22cf7
Comment 2 Quality Engineering 2012-06-15 06:13:44 UTC
Integrated into 'main-golden', will be available in build *201206150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/00f95ac22cf7
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #214228 - header files does not color c++11 keywords
- add c++11 keywords to header's filter
Comment 3 soldatov 2012-06-21 10:45:01 UTC
verified in trunk (NetBeans IDE Dev (Build 201206200001))
Comment 4 Vladimir Voskresensky 2012-06-21 15:01:55 UTC
current solution introduces the regression for C++. 
class ClassName {
public:
    ClassName();
    ClassName(const ClassName& orig) {
        this->final = orig.final;
    }
    virtual ~ClassName();
private:
    bool final;
};
Comment 5 nnnnnk 2012-06-22 08:41:50 UTC
fixed:
http://hg.netbeans.org/cnd-main/rev/10d4e5bec78e
Comment 6 soldatov 2012-06-22 10:28:29 UTC
verified in NetBeans IDE Dev (Build 201206220002)
Comment 7 Vladimir Voskresensky 2012-06-22 10:36:43 UTC
(In reply to comment #5)
> fixed:
> http://hg.netbeans.org/cnd-main/rev/10d4e5bec78e
This is the fix I expected, instead of original one. 
Thanks!
Comment 8 Vladimir Voskresensky 2012-06-22 11:14:40 UTC
fix is reviewed. It is correct.
Comment 9 nnnnnk 2012-06-22 13:12:46 UTC
*** Bug 214533 has been marked as a duplicate of this bug. ***
Comment 10 Quality Engineering 2012-06-24 02:38:35 UTC
Integrated into 'releases', will be available in build *201206232201* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/0be20cd9a061
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #214228 - header files does not color c++11 keywords
- add c++11 keywords to header's filter
Comment 11 Marian Mirilovic 2012-06-24 20:12:43 UTC
Is it still 7.2 HR FIX candidate ? .... I see the log from builder, that it's already in, isn't it ?
Comment 12 nnnnnk 2012-06-24 21:25:58 UTC
yes, it is.
Comment 13 soldatov 2012-06-25 08:35:02 UTC
verified in NetBeans IDE 7.2 RC1 (Build 201206242201)