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 239807 - Wrong C++11 code completion in open files after restarting NetBeans.
Summary: Wrong C++11 code completion in open files after restarting NetBeans.
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 7.4
Hardware: PC Linux
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-26 12:57 UTC by TomCatFort
Modified: 2013-12-26 15:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot about the bug. (65.16 KB, application/octet-stream)
2013-12-26 12:57 UTC, TomCatFort
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TomCatFort 2013-12-26 12:57:30 UTC
Created attachment 143464 [details]
Screenshot about the bug.

Description:
C++11 source files automatically reopened when NetBeans is started are parsed as C++98 source files.

Steps to reproduce:
1) Create a new empty C++ application project.
2) In the C++ compiler project settings, set the C++ Standard to C++11.
3) Create a new C++ source file and enter valid code with C++11 features, then save it.
4) Keep the file open and restart the IDE.
5) Check the code completion of the source file.

Workaround:
Manually close and reopen the files. This have to be done every time the IDE is restarted.
Comment 1 Alexander Simon 2013-12-26 15:23:34 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/dad84202f74d