[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 242857] New: Kdevelop supports neither thread_local nor
From:       Gunther Piez <gpiez () web ! de>
Date:       2010-06-26 9:27:17
Message-ID: bug-242857-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=242857

           Summary: Kdevelop supports neither thread_local nor __thread
                    storage class
           Product: kdevelop
           Version: SVN
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: cpp-parser
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: gpiez@web.de


Version:           SVN (using KDE 4.4.4) 
OS:                Linux

In the upcoming C++0x thread_local is specified as storage class for thread
local storage, see
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2659.htm
Additionally, thread local storage exists in current compiler implementations
as an extension "__thread", for example in gnu, HP, IBM, Intel and Sun
compilers (not in Microsoft... ;-))
This is basically the same class of keywords as "static", for the exact
semantics please see the link.

Reproducible: Always

Steps to Reproduce:
__thread int i;

Actual Results:  
__thread gets marked as an syntax error. Additionally, "i" is not recognized as
a variable, and so subsequent parsing depending on "i" fails.


OS: Linux (x86_64) release 2.6.34
Compiler: x86_64-pc-linux-gnu-gcc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic