From kdevelop-bugs Sat Jun 26 09:27:17 2010 From: Gunther Piez Date: Sat, 26 Jun 2010 09:27:17 +0000 To: kdevelop-bugs Subject: [Bug 242857] New: Kdevelop supports neither thread_local nor Message-Id: X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=127754461605561 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