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 - Output window should handle line numbers affected by #line directive
Summary: Output window should handle line numbers affected by #line directive
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-17 14:34 UTC by Vladimir Voskresensky
Modified: 2009-12-21 06:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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