This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 119a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-12-20
[Voted into WP at October, 2009 meeting.]
The current wording unintentionally restricts the use of thethread_local specifier in two contexts: block-scopeextern variable declarations and static data members. Theserestrictions are in conflict with 9.2.2 [dcl.stc] paragraph 1.
Proposed resolution (July, 2009):
Change 9.2.2 [dcl.stc] paragraph 4 as follows:
Thethread_local specifier shall be applied only to thenames of objects or references of namespace scopeand, to the names of objects or references of blockscope that also specifyextern orstatic, and to the names of static datamembers. It specifies that the named object or reference hasthread storage duration (6.8.6.3 [basic.stc.thread]).