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 95455 - *Code Model - APT* APT Expressions evaluator should have behavior as compiler
Summary: *Code Model - APT* APT Expressions evaluator should have behavior as compiler
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-13 18:48 UTC by Vladimir Voskresensky
Modified: 2009-12-21 05:41 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-02-13 18:48:34 UTC
Sun Compiler CC and GNU compiler g++ have different preprocessor behavior on errors,
this should be considered in APT evaluator.
i.e. the following code:
#if 1 % 0
int a;
#endif

both reports error, but
CC: no "int a;" declaration
g++: there is "int a;" declaration
Comment 1 Quality Engineering 2009-12-21 05:41:35 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