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 256700

Summary: errors in stlport
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: Code ModelAssignee: petrk
Status: VERIFIED FIXED    
Severity: normal CC: i_has_it
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Sample project

Description Vladimir Kvashin 2015-11-19 19:46:55 UTC
Created attachment 157418 [details]
Sample project

In the attached example (the nbproject is inside nbproj3 subdirectory), there is a single sample.cpp source file and lots of headers from stlport.

The sample compiles OK. Project code model  is set up according to exec log.
But code assistance
- can not resolve "second" in it->second and "first" in it->first
- complains that some #includes are unresolved
Comment 1 Vladimir Kvashin 2015-11-19 19:52:53 UTC
Sorry, I was wrong about unresolved includes. I just forgot to switch it to GNU (with Studio 12.4 tool chain it had unresolves, with GNU it does not)
Comment 2 Vladimir Kvashin 2015-11-19 20:06:51 UTC
std::map<int, int>::_Rep_type::pointer ptr;
ptr->first // resolves OK

std::map<int, int>::pointer ptr;
ptr->first // resolves OK
Comment 3 petrk 2015-11-27 15:08:43 UTC
Fixed at enum. Changeset: 304509:c3ee6f1269c7
Comment 4 Quality Engineering 2015-12-03 02:24:17 UTC
Integrated into 'main-silver', will be available in build *201512030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e93a3b0aafaf
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #256700 - errors in stlport
(transplanted from c3ee6f1269c71c1c1604b0bef8ba042d876e94b4)
Comment 5 soldatov 2015-12-22 09:27:17 UTC
Verified in NetBeans 8.1 with latest internal patches