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 119211

Summary: Output window should handle line numbers affected by #line directive
Product: cnd Reporter: Vladimir Voskresensky <vv159170>
Component: NavigationAssignee: issues@cnd <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Voskresensky 2007-10-17 14:34:10 UTC
void func();

int main() {
    func();
}

#line 100

void func() {
    int i = ;
}

there is error on line 13 of *file*, but compiler inform about error in line 102, because of #line directive => 
error message in OutputWindow has hyperlink, but this hyperlink can't jump into correspond line
This rare situation occurs in preprocessed or generated files (like generated lexers/parsers)
Comment 1 Quality Engineering 2009-12-21 06:26:03 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team