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 214271 - C++11 mode: Parser errors in Freeway
Summary: C++11 mode: Parser errors in Freeway
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.2
Hardware: PC Linux
: P1 normal (vote)
Assignee: nnnnnk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-15 11:01 UTC by soldatov
Modified: 2012-06-25 08:54 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 2012-06-15 11:01:15 UTC
Scenario:
- Create Freeway (Fedora 17, gcc 4.7.0)
- Set "C++11" C++ standard in Project Properties window
==> project has parser errors

For example "istream & operator>>(istream &i, Vehicle &v) {" in vehicle.cc
Comment 1 nnnnnk 2012-06-18 14:50:24 UTC
fixed:
http://hg.netbeans.org/cnd-main/rev/7e00d851fc13
Comment 2 soldatov 2012-06-21 09:13:53 UTC
verified in trunk (NetBeans IDE Dev (Build 201206200001))
Comment 3 Vladimir Voskresensky 2012-06-22 11:17:43 UTC
This is fix is a workaround. It is safe for fixing in HR mode, but later on I'd like to see correct support of >> in parser.
Comment 4 soldatov 2012-06-25 08:54:49 UTC
verified in NetBeans IDE 7.2 RC1 (Build 201206242201)