Dark ShaoOz
Member
- Joined
- Apr 19, 2009
- Messages
- 80
- Reaction score
- 5
Hello, someone who can help me fixing this error I get when I try to compile TFS 1.2 in Windows 7
Im using Visual Studio 2015, Boost 1.60 & TFS SDK 2.0.
I only get this error, please help me.
Thanks
Im using Visual Studio 2015, Boost 1.60 & TFS SDK 2.0.
Error C2338
You've instantiated std::atomic<T> with sizeof(T) equal to 2/4/8 and alignof(T) < sizeof(T). Before VS 2015 Update 2, this would have misbehaved at runtime. VS 2015 Update 2 was fixed to handle this correctly, but the fix inherently changes layout and breaks binary compatibility. Please define _ENABLE_ATOMIC_ALIGNMENT_FIX to acknowledge that you understand this, and that everything you're linking has been compiled with VS 2015 Update 2 (or later). (compiling source file ..\src\outputmessage.cpp) theforgottenserver C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\atomic 661
I only get this error, please help me.
Thanks