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.
If any C++ code contains 'throw' keyword I see "cannot use 'throw' with exceptions disabled" error (red sign). int main(int argc, char** argv) { throw 1; return 0; } P.S. Clank hints should be switched on in order to reproduce bug.
Fixed. Behaves the same way compiler does. If there are -fno-exceptions (or -noex for Studio compiler) the error mentioned will be displayed in the editor - otherwise not. changeset: 304469:2231e5a1c7ac tag: tip user: Maria Dalmatova <mromashova@netbeans.org> date: Mon Aug 21 19:19:11 2017 +0300 summary: fixed bz#271296 - Clank hints: code with 'throw'
Integrated into 'main-silver', will be available in build *201708230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2231e5a1c7ac User: Maria Dalmatova <mromashova@netbeans.org> Log: fixed bz#271296 - Clank hints: code with 'throw' behaves as compiler does. probably need to check Compile single file action for additional source of information