Bug 217778 - broken code model for multi compiled files
broken code model for multi compiled files
Status: NEW
Product: cnd
Classification: Unclassified
Component: Project
7.2
All All
: P2 (vote)
: 7.3
Assigned To: Alexander Simon
issues@cnd
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo