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 212091 - #undef macro in source is not visible in included header
Summary: #undef macro in source is not visible in included header
Status: STARTED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-04 15:34 UTC by Vladimir Voskresensky
Modified: 2014-11-19 14:02 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 2012-05-04 15:34:55 UTC
having two files:
---source------
#define A
#include "header.h"

----header.h-----
#ifdef A
int a;
#endif

=> a is visible in header
add #undef A after
#define A 
in source file (before #include)
and save file => 
header is not updated and still has "int a;" declaration