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

Summary: broken code model for multi compiled files
Product: cnd Reporter: Vladimir Voskresensky <vv159170>
Component: ProjectAssignee: Alexander Simon <alexvsimon>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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.