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.
Summary: | Unresolved identifiers in 'Profiling Demo' (implicit declaration of function ‘gettimeofday’) | ||
---|---|---|---|
Product: | cnd | Reporter: | soldatov <soldatov> |
Component: | Code Model | Assignee: | Alexander Simon <alexvsimon> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
soldatov
2009-05-25 13:02:58 UTC
There are two parts: 1. compiler warnings in ProfilingDemo, which is really a SIMPLEFIX 2. instable error highlighting, which could be a bit harder to fix... The SIMPLEFIX part (various compiler warnings) extracted as a separate issue 175543. fixed in NB6.9 development cycle. Indeed, compiler warnings are fixed. But there is the second part of the original bug report which is still reproducible: 1. Create ProfilingDemo, open common.c, verify that gettimeofday() is resolved. 2. Comment out "#include <sys/time.h>" in common.c and common.h. gettimeofday() is still resolved, although its declaration is not included any more. Reparsing project does not help to make gettimeofday() unresolved. 3. Exit IDE, delete code model cache, open IDE. gettimeofday() is unresolved, correctly. second scenario does not reproduced |