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 257448 - c++11 attributes not recognized in header file
Summary: c++11 attributes not recognized in header file
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: PC Other
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-07 00:38 UTC by Yankes
Modified: 2016-02-01 11:06 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 Yankes 2016-01-07 00:38:34 UTC
I have c++11 project. In header file it correctly recognize keywords like `constexpr` but if I put `[[something]]` on function it get treated as error.

One way to to reproduce it is set default standard in project and then add "-std=gnu++11" to compile options.
Comment 1 soldatov 2016-01-07 10:54:20 UTC
I see same bug if -std=c++11 too
Comment 2 Alexander Simon 2016-01-13 16:42:53 UTC
fixed in enum, change set:
9269aacabdc2
Comment 3 Quality Engineering 2016-01-18 03:04:06 UTC
Integrated into 'main-silver', will be available in build *201601180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c1124948eccc
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #257448 c++11 attributes not recognized in header file
(transplanted from 9269aacabdc2afb2e013eca84df77b525fd5bad3)
Comment 4 ilia 2016-01-27 14:45:59 UTC
  Fixes of this bug:
    http://hg.netbeans.org/releases/rev/9269aacabdc2
Comment 5 soldatov 2016-02-01 11:06:42 UTC
Verified in NetBeans IDE 8.1 (Build 201601300101)