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 159202

Summary: Unresolved ids in case of include inside of namespace
Product: cnd Reporter: nnnnnk <nnnnnk>
Component: Code ModelAssignee: Vladimir Voskresensky <vv159170>
Status: NEW ---    
Severity: blocker CC: ksc91u
Priority: P4    
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description nnnnnk 2009-02-26 11:57:48 UTC
It's use case from std in gcc.
Example:
newfile.h:
struct A {
    int i;
};
newfile.cpp:
namespace N {
    #include "newfile.h"
}

int main() {
    N::A a; // unresolved
    return 0;
}
Comment 1 nnnnnk 2009-03-03 12:26:26 UTC
Less than 20 unresolved ids on Boost 
Comment 2 Vladimir Voskresensky 2011-04-27 17:46:45 UTC
I have fixed it partially