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 250004

Summary: c++ code assistance highlighting everything from the standard library as an 'un-recognized identifier'.Solved by including namespace std and removing all appearances of 'std::'. Should be able to use 'std::' instead of include full namespace
Product: cnd Reporter: jjv0077
Component: Code ModelAssignee: issues@cnd <issues>
Status: RESOLVED INCOMPLETE    
Severity: normal CC: petrk
Priority: P2    
Version: 8.0.2   
Hardware: PC   
OS: Windows 8 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description jjv0077 2015-01-24 18:25:04 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.8.0_05
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.5-b02
Comment 1 jjv0077 2015-01-24 18:25:10 UTC
Created attachment 151672 [details]
IDE log
Comment 2 jjv0077 2015-01-24 18:29:03 UTC
As a note, I created the original project well over a week ago and had no issues until I reopened the project this morning. This morning I created a brand new project, copied all sources into brand new files created within the IDE, and the error was not fixed.

The project builds and runs perfectly fine.
Comment 3 petrk 2015-02-03 16:26:40 UTC
Hi,

First of all, can you check your project after deleting cache directory (path to it is at Help->About page)? 

If your project is from existing sources (e.g. unmanaged project) then maybe something was changed in the way project compiles (new version of compiler/different path to compiler/etc.)? I suppose that is not your case as you've said that you create files inside IDE.

Thanks,
Petr
Comment 4 petrk 2015-02-06 12:01:10 UTC
This bug can also be a duplicate of Bug 250210