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 245847 - bad code assistance in -std=c++14 or -std=c++1y cases (GCC 4.9)
Summary: bad code assistance in -std=c++14 or -std=c++1y cases (GCC 4.9)
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-21 14:02 UTC by soldatov
Modified: 2014-08-28 02:40 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 2014-07-21 14:02:22 UTC
GCC from http://www.opencsw.org/get-it/packages/

Scenario:
- Create Quote
- Add -std=c++14 or -std=c++1y into "Build|C++ Compiler|Additional Options" field
- Build project
==> ok
- Open quote.cc file
==> A lot of unresolved identifiers. For example: Unable to resolve identifier list.
Comment 1 Alexander Simon 2014-07-22 11:36:14 UTC
Indeed GNU 4.9 supports c++14:
https://gcc.gnu.org/ml/gcc-patches/2014-03/msg00343.html
Comment 2 Quality Engineering 2014-07-24 02:40:53 UTC
Integrated into 'main-silver', will be available in build *201407240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1b7007c00b24
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #245847 bad code assistance in -std=c++14 or -std=c++1y cases (GCC 4.9)
Comment 3 Quality Engineering 2014-07-25 02:37:01 UTC
Integrated into 'main-silver', will be available in build *201407250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/759fe8afe9bf
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #245847 bad code assistance in -std=c++14 or -std=c++1y cases (GCC 4.9)
- fix NPE
Comment 4 Quality Engineering 2014-08-28 02:40:04 UTC
Integrated into 'main-silver', will be available in build *201408280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/77ed5e56fe90
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #245847 bad code assistance in -std=c++14 or -std=c++1y cases (GCC 4.9)
- fix standard in system headers