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 255802 - Unresolved identifiers appears if use modifies external header file
Summary: Unresolved identifiers appears if use modifies external header file
Status: RESOLVED DUPLICATE of bug 255933
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-08 12:55 UTC by soldatov
Modified: 2015-11-02 19:30 UTC (History)
0 users

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 soldatov 2015-10-08 12:55:30 UTC
/tmp/qq/test.cpp:
-----------------------------------------------------------------
#include "test.hpp"

int main() {
  return CONSTANT;
}
-----------------------------------------------------------------

/tmp/qq/test.hpp:
-----------------------------------------------------------------
#define CONSTANT 1
int foo();
-----------------------------------------------------------------

Scenario:
- Open test.cpp file via "Open File" wizard
- Open test.hpp file via "Open File" wizard
- Add "void aaa() {}" into main.cpp and save file
==> ok
- Add "void bbb() {}" into main.hpp and save file
- Add "void ccc() {}" into main.hpp and save file
- Add "void ddd() {}" into main.hpp and save file
==> 'ddd' is unresolved identifier

Bug exists in NetBeans 8.0.2 too.
Comment 1 Alexander Simon 2015-11-02 13:18:38 UTC

*** This bug has been marked as a duplicate of bug 255933 ***