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: | Clank hints: C++ standard headers in header file | ||
---|---|---|---|
Product: | cnd | Reporter: | soldatov <soldatov> |
Component: | -- Other -- | Assignee: | Maria Tishkova <mromashova> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | Dev | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
soldatov
2017-08-14 12:25:03 UTC
*** Bug 271289 has been marked as a duplicate of this bug. *** The problem is in the defaults GCC and clang use. Need to understand the correct fix. the fix is to send -std=c++11 -stdlib=libstdc++ to the clang. Not sure how I will implement it yet but fix workaround with adding it these options to the Editor->Hints->C/C++->Clank Diagnostics (Experimental) fixes the problem fixed in cnd-main changeset: 304478:2a5e6093d25e tag: tip user: Maria Dalmatova <mromashova@netbeans.org> date: Mon Aug 28 20:37:24 2017 +0300 summary: fixed bz#271290 - Clank hints: C++ standard headers in header fil Integrated into 'main-silver', will be available in build *201708300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2a5e6093d25e User: Maria Dalmatova <mromashova@netbeans.org> Log: fixed bz#271290 - Clank hints: C++ standard headers in header file send standard as an argument to the clank |