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 136481

Summary: file local elements from header are not hyperlinkable from source
Product: cnd Reporter: Vladimir Voskresensky <vv159170>
Component: Code CompletionAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 134091    

Description Vladimir Voskresensky 2008-06-04 16:19:28 UTC
Model Accuracy on Freeway is affected by the following problem:

file.h:
static unsigned char arrow_left_bits[] = { 0x88, 0x08, 0x02, 0xf8, 0x89, 0x1c, 0x02};
const unsigned long BLACK = 1;

file.cc:

#include "file.h"

void foo(int a, char* data) {
  int color = BLACK;
  foo(color, arrow_left_bits);
}

BLACK and arrow_left_bits are unresolved by code model
Comment 1 Alexander Simon 2008-06-07 11:52:04 UTC
fixed
http://hg.netbeans.org/main/rev/c0d76c351219
Comment 2 Quality Engineering 2008-06-07 16:12:18 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #243 build
Changeset: http://hg.netbeans.org/main/rev/c0d76c351219
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed IZ#136481:file local elements from header are not hyperlinkable from source