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.
Summary: | C++11 enums with visibility makes netbeans think the syntax is incorrect | ||
---|---|---|---|
Product: | cnd | Reporter: | stormbyte |
Component: | Code Model | Assignee: | petrk |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
stormbyte
2015-08-04 16:33:37 UTC
Note that by saying that removing the PUBLIC macro makes the error go away, I am implying that I enabled c++11 parsing in my project. I have to say that it works however for code like: enum PUBLIC LogLevel:unsigned short However, both versions are valid C++11 code, so both should be accepted by code parser. Integrated into 'main-silver', will be available in build *201607130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/834a6d1fddc5 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #254133 - C++11 enums with visibility makes netbeans think the syntax is incorrect |