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 212145

Summary: Unable to resolve identifier - remote development - C++
Product: cnd Reporter: Mr_and_Mrs_D
Component: Code ModelAssignee: nnnnnk <nnnnnk>
Status: RESOLVED FIXED    
Severity: normal CC: apepin
Priority: P3    
Version: 7.1.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: C++ project displaying the "Unable to resolve identifier - remote development - C++" bug

Description Mr_and_Mrs_D 2012-05-06 17:39:35 UTC
Created attachment 119134 [details]
C++ project displaying the "Unable to resolve identifier - remote development - C++" bug

I am developing a project in my MS machine and I run it remotely on my Uni's
linux machine. The project builds correctly and runs correctly. I have a file BFcommon.h where I define a BFcommon class and a file HP.h where I define an HP class : public BFcommon. In my HP.cpp I get "Unable to resolve identifier" and red highlight for all the (protected) methods and constants the HP class inherits from the BFcommon class.

I am attaching the project

Thanks
Comment 1 nnnnnk 2012-05-10 12:39:19 UTC
Sample:
class A {
protected:
    void foo() {        
    }
};

class B : public A::A::A::A {
    void bar() {
        foo();
    }
};
Comment 2 nnnnnk 2012-05-12 11:37:39 UTC
fixed:
http://hg.netbeans.org/cnd-main/rev/0f6653d9de54