This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, libphobos] Committed fix modify immutable error on Solaris
- From: Iain Buclaw <ibuclaw at gdcproject dot org>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 10 Dec 2018 13:12:17 +0100
- Subject: [PATCH, libphobos] Committed fix modify immutable error on Solaris
Hi,
This is another Solaris backport from druntime 2.079, fixing a build
error in the core.thread module.
Bootstrapped and tested on i386-pc-solaris2.11.
Committed to trunk as r266950.
--
Iain
---
diff --git a/libphobos/libdruntime/core/thread.d b/libphobos/libdruntime/core/thread.d
index ff15d066a49..98a81425f47 100644
--- a/libphobos/libdruntime/core/thread.d
+++ b/libphobos/libdruntime/core/thread.d
@@ -1547,7 +1547,7 @@ private:
version (Solaris)
{
- __gshared immutable bool m_isRTClass;
+ __gshared bool m_isRTClass;
}
private: