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 253858 - Editor ignores "Build|Preprocessor Definitions" field
Summary: Editor ignores "Build|Preprocessor Definitions" field
Status: VERIFIED DUPLICATE of bug 253671
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P2 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-27 12:22 UTC by soldatov
Modified: 2015-07-29 15:15 UTC (History)
1 user (show)

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 soldatov 2015-07-27 12:22:15 UTC
I added AAA=123 into "Build|Preprocessor Definitions" field, but IDE highlights AAA as a unknown identifier in such code:

#include <cstdio>
#include <cstdlib>

using namespace std;

int main(int argc, char** argv) {
    printf("%d\n", AAA);
    return 0;
}
Comment 1 soldatov 2015-07-27 13:11:41 UTC
I think this bug has been fixed in trunk (but problem exists in NetBeans 8.1Beta).
Comment 2 Vladimir Voskresensky 2015-07-27 13:19:29 UTC
Valera, I think you are right. It looks like duplicate of https://netbeans.org/bugzilla/show_bug.cgi?id=253671.
Could you, please, verify in trunk and if fixed, then nominate 253671 as 81beta-stopper. 
Thanks!
Comment 3 soldatov 2015-07-27 13:34:16 UTC
Ok. I will do.
Comment 4 Vladimir Riha 2015-07-29 13:13:58 UTC
Hi,
could you please confirm if it is a stopper or not?

Thank you in advance
Comment 5 soldatov 2015-07-29 14:05:26 UTC
I verified this bug has been fixed in "NetBeans IDE 8.1 Beta (Build 201507282201)" build
Comment 6 DimaZh 2015-07-29 15:13:16 UTC

*** This bug has been marked as a duplicate of bug 253671 ***
Comment 7 soldatov 2015-07-29 15:15:32 UTC
verified in trunk and NetBeans IDE 8.1 Beta (Build 201507282201