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 190771 - c99 standard is not detected correctly (cause very low accuracy)
Summary: c99 standard is not detected correctly (cause very low accuracy)
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-05 13:57 UTC by Alexander Simon
Modified: 2010-10-06 14:22 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 Alexander Simon 2010-10-05 13:57:56 UTC
Number of unresolved identifiers is 13%. It is absolutely unacceptable.
Please, improve code model quality at least in 10 times.
This is statistic of references visitor:

Project f90 has 87 files
/net/elif/export1/sside/oss_build/atenbuild30L/src/lang/new_driver/src/opt_parse_exceptions.h has 57 lines; took 1441ms
...
/net/elif/export1/sside/oss_build/atenbuild30L/src/lang/new_driver/src/interaction.c has 3258 lines; took 13709ms
Number of analyzed contexts 0
Unresolved 7259 (13.37%) where MacroBased 1821 (3.35%) of 54280 checkpoints [TemplateBased warnings 0 (0.00%), Builtin 0 (0.00%)]
Line count: 41564, time 77094 ms, 
speed 539.13 lines/sec, 704.08 refs/sec
Analyzing f90 took 77104ms
Comment 1 Leonid Lenyashin 2010-10-06 14:17:06 UTC
JFYI, for Studio C compiler C99 is the default.
Comment 3 Vladimir Voskresensky 2010-10-06 14:22:43 UTC
(In reply to comment #1)
> JFYI, for Studio C compiler C99 is the default.

not in Aten...
#cc -c /var/tmp/c99.c
"/usr/include/stdbool.h", line 42: #error: "Use of <stdbool.h> is valid only in a c99 compilation environment."

for simple test:
------------------
#include <stdbool.h>


_Bool b = true;
-------------------