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 247627 - Unable to resolve identifier error for static function
Summary: Unable to resolve identifier error for static function
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-01 13:22 UTC by rgargente
Modified: 2014-11-19 13:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample project showcasing the bug (32.83 KB, application/x-zip-compressed)
2014-10-01 13:22 UTC, rgargente
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rgargente 2014-10-01 13:22:48 UTC
Created attachment 149650 [details]
Sample project showcasing the bug

When including a source file with a static file, NetBeans shows an error and it is not possible to navigate to it. However, the program compiles and it is executed correctly. 

This may be an unusual way to organize the code so I attach a small sample project so you can easily reproduce the problem. The error is shown in file module.c. 

I'm using GNU 4.x Cygwin toolchain.

It happened in version 8.0 too.

Thank you
Comment 1 rgargente 2014-10-01 13:36:31 UTC
I tried with NetBeans 8.0.1 on Linux and the behaviour is the same.