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 262377 - GCC 6 and unresolved STL methods (Fedora 24)
Summary: GCC 6 and unresolved STL methods (Fedora 24)
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-09 11:44 UTC by soldatov
Modified: 2016-06-18 03:12 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 2016-06-09 11:44:19 UTC
Scenario:
- Launch NetBenas on Fedora 24 (GCC 6.1.1)
- Create Quote project
- Open quote.cc and module.cc
==> unresolved identifiers
customers.size (STL's list)
(*it).GetName()
(*it).GetDiscount()
s.c_str() (STL's string)
description.c_str()
vendor.c_str()

Workaround: set "Build|C++ Compiler|C++ Standard=C++14" in Project Properties window. But It is a strange step, because C++14 is a default mode in modern C++ compilers.
Comment 1 Alexander Simon 2016-06-09 17:08:43 UTC
I hope that change set:
https://hg.netbeans.org/cnd-main/rev/60e4209fc40e
will fix issue.
Please verify on your env (i cannot).
Comment 2 soldatov 2016-06-09 18:21:48 UTC
Ok. Thank you.
Comment 3 Quality Engineering 2016-06-18 03:12:41 UTC
Integrated into 'main-silver', will be available in build *201606180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/60e4209fc40e
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug 262377 - GCC 6 and unresolved STL methods (Fedora 24)