]> git.lyx.org Git - features.git/commit
Partially revert "Replace static with thread_local when used for caching"
authorGuillaume Munch <gm@lyx.org>
Thu, 4 Aug 2016 12:30:47 +0000 (13:30 +0100)
committerGuillaume Munch <gm@lyx.org>
Thu, 4 Aug 2016 12:39:27 +0000 (13:39 +0100)
commit0e672fed21251e2eb8238dee64d3366f02b81b5a
treeb7d70eab2b14e29c16d4612ac3c7841d24f578f7
parent4084b2d629df7291cb0e71843d8a4c664aeaa213
Partially revert "Replace static with thread_local when used for caching"

As noticed by Stephan, clang on Mac is nowhere near to support thread_local for
some reason:
http://stackoverflow.com/questions/28094794/why-does-apple-clang-disallow-c11-thread-local-when-official-clang-supports

It does not look realistic to me to provide a configure-based alternative. The
solution is to not use thread_local until it is reasonably supported on
Mac. According to sources, this means requiring Xcode >= 8.

This reverts commit 82d4f1a446260333ef1590f3622196e7c76e414d partially.
src/frontends/qt4/GuiFontLoader.cpp
src/frontends/qt4/GuiPainter.cpp
src/frontends/qt4/GuiSymbols.cpp