This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/81047] thread local storage static class members of class type cannot be initialized


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81047

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
What the error message is saying is if you use thread_local instead of
__thread; it would work (and c++11 or higher).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]