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 251101 - unresolved identifiers in Full Remote project if build system generates code
Summary: unresolved identifiers in Full Remote project if build system generates code
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-11 13:29 UTC by soldatov
Modified: 2016-02-03 09:35 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-03-11 13:29:16 UTC
Makefile:
======================================================================

test: test.cpp
	echo "void foo() {}" >> newfile.h
	g++ -g -o test test.cpp

clean:
	rm -f test test.exe *.o

======================================================================
test.cpp:
======================================================================

#include "newfile.h"

int main() {
    foo();
    return 0;
}

======================================================================
newfile.h is empty file

Scenario:
- Open project
- Rebuild project
- Open test.cpp file
==> foo() is unresolved identifier
- Open newfile.h file
==> foo() is unresolved identifier too
Comment 1 Vladimir Kvashin 2016-01-26 07:09:26 UTC
fixed on enum
264ff3f9b5e9
Comment 2 Vladimir Kvashin 2016-01-26 07:38:38 UTC
It suddenly appeared that I changed whiteboard to "81patch-candidate" only today; however that was just a technical mistake. I discussed this issue yesterday with our tech lead Vladimir Voskresensky and it was decided that this is a candidate and possible fix was discussed as well. I guess I just forgot to press "save" yesterday :(  So let's consider it was nominated yesterday - which is true.
Comment 3 Quality Engineering 2016-01-28 02:34:12 UTC
Integrated into 'main-silver', will be available in build *201601280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/27d823b57edc
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #251101 - unresolved identifiers in Full Remote project if build system generates code
(transplanted from 264ff3f9b5e99efe12f5839d2a7602110899061c)
Comment 4 Quality Engineering 2016-01-29 02:36:56 UTC
Integrated into 'main-silver', will be available in build *201601290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/fd03bdc45d72
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Additional fix for #251101 - unresolved identifiers in Full Remote project if build system generates code
-- fixed build
(transplanted from e343a387f5fbc7b2dee7c266bfc38fca8547ecce)
Comment 5 ilia 2016-01-29 10:41:56 UTC
  Fixes of this bug:
    hg.netbeans.org/releases/rev/264ff3f9b5e9
    hg.netbeans.org/releases/rev/e343a387f5fb
Comment 6 soldatov 2016-02-03 09:35:06 UTC
Verified in NetBeans 8.1 patch1