[LyX/master] We only support gcc >= 4.9.

Jean-Marc Lasgouttes lasgouttes at lyx.org
Wed Apr 7 15:10:33 UTC 2021


commit b08a653f3549e08fffc5318c87da305651ecc197
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date:   Wed Apr 7 17:17:05 2021 +0200

    We only support gcc >= 4.9.
---
 src/Paragraph.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index 6bf4ce3..6248d8e 100644
--- a/src/Paragraph.cpp
+++ b/src/Paragraph.cpp
@@ -71,8 +71,8 @@
 using namespace std;
 using namespace lyx::support;
 
-// OSX clang, gcc < 4.8.0, and msvc < 2015 do not support C++11 thread_local
-#if defined(__APPLE__) || (defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ < 8)
+// OSX clang and msvc < 2015 do not support C++11 thread_local
+#if defined(__APPLE__)
 #define THREAD_LOCAL_STATIC static __thread
 #elif defined(_MSC_VER) && (_MSC_VER < 1900)
 #define THREAD_LOCAL_STATIC static __declspec(thread)


More information about the lyx-cvs mailing list