- Add missing constructor (fix build) - Fix runtime_idi8 changed/i8/dotnet3.0-3.0.103-1.el8_1.inferit
parent
63db9ab88d
commit
0231399243
@ -0,0 +1,25 @@
|
||||
From eefbe5773c60aa0c99b4be7defa8e7ed27644ec6 Mon Sep 17 00:00:00 2001
|
||||
From: tigro <tigro@msvsphere-os.ru>
|
||||
Date: Thu, 7 Dec 2023 11:05:45 +0300
|
||||
Subject: [PATCH] Fix re-declarations of builtin functions with clang 10
|
||||
|
||||
---
|
||||
.../src/pal/inc/pal.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/coreclr.259ce7d4619478cfefe7b0c0f6fa765f765f7e37/src/pal/inc/pal.h b/src/coreclr.259ce7d4619478cfefe7b0c0f6fa765f765f7e37/src/pal/inc/pal.h
|
||||
index 08a35c8f6..43eb648a1 100644
|
||||
--- a/src/coreclr.259ce7d4619478cfefe7b0c0f6fa765f765f7e37/src/pal/inc/pal.h
|
||||
+++ b/src/coreclr.259ce7d4619478cfefe7b0c0f6fa765f765f7e37/src/pal/inc/pal.h
|
||||
@@ -145,7 +145,7 @@ typedef PVOID NATIVE_LIBRARY_HANDLE;
|
||||
|
||||
/******************* Compiler-specific glue *******************************/
|
||||
#ifndef THROW_DECL
|
||||
-#if defined(_MSC_VER) || defined(__llvm__) || !defined(__cplusplus)
|
||||
+#if defined(_MSC_VER) || !defined(__cplusplus)
|
||||
#define THROW_DECL
|
||||
#else
|
||||
#define THROW_DECL throw()
|
||||
--
|
||||
2.43.0
|
||||
|
@ -0,0 +1,41 @@
|
||||
From 0e973089c73b64dcb0423958e4f900e43a47d5a6 Mon Sep 17 00:00:00 2001
|
||||
From: tigro <tigro@msvsphere-os.ru>
|
||||
Date: Thu, 7 Dec 2023 12:54:55 +0300
|
||||
Subject: [PATCH 2/2] Add missing constructor
|
||||
|
||||
---
|
||||
.../src/inc/slist.h | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/coreclr.259ce7d4619478cfefe7b0c0f6fa765f765f7e37/src/inc/slist.h b/src/coreclr.259ce7d4619478cfefe7b0c0f6fa765f765f7e37/src/inc/slist.h
|
||||
index f05d763dc..abebe04d4 100644
|
||||
--- a/src/coreclr.259ce7d4619478cfefe7b0c0f6fa765f765f7e37/src/inc/slist.h
|
||||
+++ b/src/coreclr.259ce7d4619478cfefe7b0c0f6fa765f765f7e37/src/inc/slist.h
|
||||
@@ -160,13 +160,13 @@ public:
|
||||
void Init()
|
||||
{
|
||||
LIMITED_METHOD_CONTRACT;
|
||||
- m_pHead = &m_link;
|
||||
+ m_pHead = PTR_SLink(&m_link);
|
||||
// NOTE :: fHead variable is template argument
|
||||
// the following code is a compiled in, only if the fHead flag
|
||||
// is set to false,
|
||||
if (!fHead)
|
||||
{
|
||||
- m_pTail = &m_link;
|
||||
+ m_pTail = PTR_SLink(&m_link);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -274,7 +274,7 @@ public:
|
||||
SLink *ret = SLink::FindAndRemove(m_pHead, GetLink(pObj), &prior);
|
||||
|
||||
if (ret == m_pTail)
|
||||
- m_pTail = prior;
|
||||
+ m_pTail = PTR_SLink(prior);
|
||||
|
||||
return GetObject(ret);
|
||||
}
|
||||
--
|
||||
2.43.0
|
||||
|
Loading…
Reference in new issue