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 217778 - broken code model for multi compiled files
Summary: broken code model for multi compiled files
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-04 07:41 UTC by Vladimir Voskresensky
Modified: 2012-09-13 14:56 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2012-09-04 07:41:12 UTC
interceptor sees all compiler invocations, but if file was compiled several times then only one is used for configuring item properties. It cause random behavior of code model, because the same file is compiled with i.e. -DSERVER and -DCLIENT and code model is blinking after re-build + only one branch is visible when both were used
Comment 1 Leonid Lenyashin 2012-09-12 07:07:06 UTC
I'd like to see more of justification and evaluation before moving forward with implementation. Please do not implement until discussed in details.
Comment 2 Alexander Simon 2012-09-13 14:56:29 UTC
C/C++ project does not support several configurations of the one compilation unit.
So discovery randomly selects a configuration from several configurations of the compilation unit.
The issue is an RFE:
- support several configurations of one compilation unit.