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 243598

Summary: C++11 thread_local variables highlighted as Unable to resolve identifier
Product: cnd Reporter: VyacheslavVanin
Component: Code ModelAssignee: petrk
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description VyacheslavVanin 2014-04-06 06:38:28 UTC
#include <iostream>

int main( int argc, char** argv )
{
    thread_local int i = 10;
    std::cout << i <<std::endl;
    
    return 0;
}


whith thread_local keyword variable "i" highlighted as an unresolved identifier.
option "C++ Standart" set to C++11.  


Ubuntu 13.10 x64.
g++ version 4.8.1
Comment 2 Quality Engineering 2014-04-08 06:08:54 UTC
Integrated into 'main-silver', will be available in build *201404080419* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0717b511f775
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed Bug #243598 - C++11 thread_local variables highlighted as Unable to resolve identifier
Comment 3 Quality Engineering 2014-04-24 02:15:17 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/dd2858a5ef78
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed Bug #243598 - C++11 thread_local variables highlighted as Unable to resolve identifier
(transplanted from 0717b511f77564d93d4be7ab377f1b5416bd8c79)