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 218771 - constexpr is not a keyword in system header file
Summary: constexpr is not a keyword in system header file
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.3
Hardware: PC Solaris
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-21 13:10 UTC by soldatov
Modified: 2015-11-11 15:05 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 2012-09-21 13:10:44 UTC
Code:

#include <iterator>
#include <vector>

int main() {
    std::vector<int> v = {0};
    std::begin(v);
    return 0;
}

Scenario:
- Add GCC4.6 toolchain
- Add __GXX_EXPERIMENTAL_CXX0X__ macro definition
- Create project
- Add -std=c++0x into Build|C++ Compiler|Additional Options
- Copy&Paste code into project
- Move cursor on 'begin' and Press Ctrl-B (hyperlink)
==> I see a lot of unresolved "constexpr" in system header file (constexpr is not a keyword in that file)
Comment 1 Alexander Simon 2015-11-11 15:05:01 UTC
fixed long ago