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 - Unresolved ids in case of include inside of namespace
Summary: Unresolved ids in case of include inside of namespace
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: Sun All
: P4 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-26 11:57 UTC by nnnnnk
Modified: 2011-04-27 17:46 UTC (History)
1 user (show)

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 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