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 241484 - using namespace std from "-include file" is not visible by reference resolver
Summary: using namespace std from "-include file" is not visible by reference resolver
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-06 12:00 UTC by Vladimir Voskresensky
Modified: 2014-02-07 02:38 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 2014-02-06 12:00:17 UTC
if "-include file" contains 
using namespace std;
then it is not visible in translation unit, so string is unresolved
Comment 1 Vladimir Voskresensky 2014-02-06 12:06:11 UTC
http://hg.netbeans.org/cnd-main/rev/386f5aa89d77
Comment 2 Quality Engineering 2014-02-07 02:38:26 UTC
Integrated into 'main-silver', will be available in build *201402070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/386f5aa89d77
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #241484 - using namespace std from "-include file" is not visible by reference resolver
- include directive associated with "-include file" has negative offset, so min file offset is not zero, but big negative