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 241844 - Project preprocessor defines are not being applied to code assistance for active project
Summary: Project preprocessor defines are not being applied to code assistance for act...
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-13 19:38 UTC by nathanh
Modified: 2014-02-18 16:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (488.52 KB, text/plain)
2014-02-13 19:38 UTC, nathanh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nathanh 2014-02-13 19:38:34 UTC
Product Version = NetBeans IDE 8.0 Beta (Build 201401141042)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_17
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01

Set a Define in:
In Run->Set Project Configuration->Customize...->Code Assistance->C++ Compiler->Preprocessor Definitions

It is not being reflected in code.  I manually open the file properties, I verified "Inherit from project" is selected. I can manually add to the individual file and it works.
Comment 1 nathanh 2014-02-13 19:38:42 UTC
Created attachment 145165 [details]
IDE log
Comment 2 Alexander Simon 2014-02-18 16:10:10 UTC
Hi nathanh,

I cannot reproduce the bug.
Please provide additional info:
- screen shot with project properties (Code Assistance->C++ Compiler->Preprocessor Definitions)
- screen shot of the file properties (C++ Compiler->Preprocessor Definitions->...[Edit])
- open the file in editor and popup menu on project->Code Assistance->Dump C/C++ Code Model Diagnostics->Preprocessor States