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 230760 - C++11: Unresolved identifier std::endl
Summary: C++11: Unresolved identifier std::endl
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Toolchain (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: REGRESSION
: 236290 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-05 07:28 UTC by soldatov
Modified: 2013-10-02 18:28 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 2013-06-05 07:28:06 UTC
Scenario:
- Create C++ project
- Select C++11 standard in Project Properties window
- Add such code

#include <iostream>

int main() {
    std::cout << "hello" << std::endl;
    return 0;
}

===> IDE highlights endl as a unresolved identifier
Comment 1 Vladimir Voskresensky 2013-06-06 07:00:30 UTC
side effect of 
http://hg.netbeans.org/cnd-main/rev/8887618499a1

reduced test case (b is visible, a is not):
#define KEY 201103L

#if KEY >= 201103L
int b;
#endif

#if __cplusplus >= 201103L
int a;
#endif
Comment 2 Vladimir Voskresensky 2013-06-06 07:30:50 UTC
http://hg.netbeans.org/cnd-main/rev/9d7b11177f45
Comment 3 Quality Engineering 2013-06-08 01:11:09 UTC
Integrated into 'main-golden', will be available in build *201306072301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9d7b11177f45
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #230760 - C++11: Unresolved identifier std::endl
- fixed misspell in configuration toolchain
Comment 4 Alexander Simon 2013-10-02 18:28:15 UTC
*** Bug 236290 has been marked as a duplicate of this bug. ***