17 lines
597 B
Diff
17 lines
597 B
Diff
Subject: fix sigsegv, use ostringstream without __thread
|
|
Bug: 123995
|
|
Tags: lcc
|
|
|
|
diff -rupN a/src/include/stringify.h b/src/include/stringify.h
|
|
--- a/src/include/stringify.h 2020-09-02 03:52:52.726038727 +0300
|
|
+++ b/src/include/stringify.h 2020-09-02 03:54:19.324833412 +0300
|
|
@@ -8,7 +8,7 @@
|
|
|
|
template<typename T>
|
|
inline std::string stringify(const T& a) {
|
|
-#if defined(__GNUC__) && !(defined(__clang__) || defined(__INTEL_COMPILER))
|
|
+#if defined(__GNUC__) && !(defined(__clang__) || defined(__INTEL_COMPILER) || defined(__LCC__))
|
|
static __thread std::ostringstream ss;
|
|
ss.str("");
|
|
#else
|