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 112100 - Failed include annotation and broken icon for project are not disappeared when code is correct
Summary: Failed include annotation and broken icon for project are not disappeared whe...
Status: RESOLVED DUPLICATE of bug 113462
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-06 17:41 UTC by Maria Tishkova
Modified: 2007-08-23 17:05 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 Maria Tishkova 2007-08-06 17:41:15 UTC
Scenario:
- Create C/C++ Application project
- Create C file with this code:
-------------------------------------
#include <stdlib.h>
#include "newmain.h"

int f() {
    return 0;
}

int f2() {
    return 0;
}

int main(int argc, char** argv) {   
    return (EXIT_SUCCESS);
}

-------------------------------------
- Save file

At this point Failed Include directive annotation will be appeared in editor and broken icon for the project in Projects
Explorer and it is correct


- Create C header file newmain.h with this code:
-------------------------------------

int f();
int f2();

Save file

And now it is supposed that broken icon for project will disappear as well as Failed Include annotation in editor ->
FAILED,  you should turn off and then turn on Code Assist to fix this issue

I want to notice that hyperlink works correctly anf opens definition of functions in header file, but hyperlink for 
"include " doesn't work
Comment 1 Alexander Simon 2007-08-23 17:05:53 UTC

*** This issue has been marked as a duplicate of 113462 ***