Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes of error C3861: identifier not found #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fixes of error C3861: identifier not found #2

wants to merge 1 commit into from

Conversation

wmamrak
Copy link

@wmamrak wmamrak commented Oct 1, 2019

No description provided.

@brianGriifin114
Copy link

I also encountered this problem, and a similar patch solved it. But no one in the development team seems to be taking care of this issue.

--- a/include/eathread/internal/eathread_atomic_standalone_msvc.h
+++ b/include/eathread/internal/eathread_atomic_standalone_msvc.h
@@ -65,6 +65,12 @@
 	#endif
 
 	#if defined(EA_PROCESSOR_X86)
+        extern "C" int64_t _InterlockedExchange64_INLINE(int64_t volatile* Target, int64_t Value);
+        extern "C" int64_t _InterlockedExchangeAdd64_INLINE(int64_t volatile* Addend, int64_t Value);
+        extern "C" int64_t _InterlockedAnd64_INLINE(int64_t volatile* Target, int64_t Value);
+        extern "C" int64_t _InterlockedOr64_INLINE(int64_t volatile* Target, int64_t Value);
+        extern "C" int64_t _InterlockedXor64_INLINE(int64_t volatile* Target, int64_t Value);
+	
 		#define _InterlockedExchange64		_InterlockedExchange64_INLINE
 		#define _InterlockedExchangeAdd64	_InterlockedExchangeAdd64_INLINE
 		#define _InterlockedAnd64			_InterlockedAnd64_INLINE

For the new EASTL, EAThread is no longer integrated with it, but downloads dependencies from eabase, so I can't apply the patch locally.Now we can only wait that the development team adopts this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants