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

Summary: Editor ignores "Build|Preprocessor Definitions" field
Product: cnd Reporter: soldatov <soldatov>
Component: Code ModelAssignee: issues@cnd <issues>
Status: VERIFIED DUPLICATE    
Severity: normal CC: vriha
Priority: P2    
Version: 8.1   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

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