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
Closing, both storage specifiers are accepted now.
Moving all the bugs from the CPP Parser. It was not well defined the difference between it and C++ Language Support and people kept reporting in both places indistinctively